I have a recently purchased CR200 and an older SR50 sonic ranging sensor. I've tried all SDI-12 addresses, and I always get "NAN" for my outputs. I've been using short cut for programming. The sensor works perfectly with my CR10XPB.
Any ideas what my problem is?
Thanks!
新对话如下:
Matt,
Please post the SDIRecorder command you are using in the CR200.
IslandMan
* Last updated by: IslandMan on 2/20/2010 @ 3:52 AM *
新对话如下:
Also, what is your scan interval? Slow things down to no faster than 5 seconds while you are troubleshooting.
Janet
新对话如下:
This is the Main Program I created with Short Cut:
'Main Program
BeginProgram
Scan(30,Sec)
'Default Datalogger Battery Voltage measurement BattV
Battery(BattV)
'109 Temperature Probe measurement T109_C
Therm109(T109_C,1,1,1,1,0)
'SR50 Sonic Ranging Sensor(SDI-12 Output) .cont'd. measurements DT, TCDT, and DBTCDT
SDI12Recorder(DT,"0M!",100,0)
TCDT=DT*SQR((T109_C+273.15)/273.15)
DBTCDT=150-TCDT
'Call Data Tables and Store Data
CallTable(Table1)
CallTable(Table2)
NextScan
EndProg
新对话如下:
Hi Matt,
I've been over the program, can't see anything wrong with that. Could it be a wiring issue? Only other issue I can think of is possibly the jumper settings on the sensor?
Sorry I don't have more ideas.
IslandMan
新对话如下:
Please try that program without the quotes around the SDI-12 command, i.e.
SDI12Recorder(DT,0M!,100,0)
This is a difference compared to some of our other loggers for reasons I cannot really explain.
Also check the program you are loading compiles correctly too as the code above has some missing declarations and BeginProgram which is not right.
Once running check if you can hear the sensor fire (click) every 30 sec too.
The problem seemed to be the CR200 OS. The unit was shipped with v07 last month (2/10). I was advised to download and upgrade to v09 which didn't work either. A CS engineer emailed me v06 and the SR50 is now working great with the CR200! Thanks for all of your suggestions everyone.