Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Connecting TDR315 (Acclima inc.) to CR1000


Hadargi Jul 28, 2019 10:28 AM

Hi,

I wish to record data from the TDR315 by Acclima. The TDR return a string of its address+ 5 values. in order to record it i used a:

public TDR ()

and a SDI recorder command within the scan command:

SDI12Recorder(TDR(1),3,1,"C!",1.0,0)

When i check for the TDR(1) value in the num display table I get only TDR(1)=0. 

Can you please let me know what did I do wrong?

Thanks,

Hadar


nsw Jul 31, 2019 03:13 PM

Hadar,

When I load these two commands in CRBasic here, it fails to compile. So, I am surprised you managed to compile the program and send it to the CR1000.

The problem with your program is that your definition of the variable TDR is incorrect. It should be at minimum :-

Public TDR(5)

If the sensor does send back 5 off values + address.

Also, check the address of the TDR315 to see if it is actually "1" and not "0" which is the default for most SDI-12 sensors.


Hadargi Jul 31, 2019 06:31 PM

Hi,

Thanks for your answer. I found out what i did wrong. Now it works for me.

Hadar

Log in or register to post/reply in the forum.