Hi, i am work trying to connect one WXT520 weather transmitter with the Datalogger CR200, but i can't.
I am using the command SDI12Recorder but I don't know what put in the parameter "outstring". I've tried with "0M1!", "0xM1!", "0xC1", etc and nothing happens. In the Monitor data window in PC400, all the values are 0.00 except two that are NAN. Anyone has the program that communicate this two devices? I studied the example that the manual incorpored but i cant translate it to cr2 instead of cr10x or cr1000.
Thank you for spend your time with me.
Oscar.
新对话如下:
The address and command are all one parameter in the CR200 Series and separate parameters in the CR1000. Using the CR1000 example from the manual:
CR1000
SDI12Recorder(WXT520(1),7,"0","M1!",1,0)
equivalent CR200 Series would be
SDI12Recorder(WXT520(1),"0M1!",1,0)
Note also that no port is specified in the CR200 Series instruction unlike the CR1000 instruction because there's only one SDI-12 port on the CR200 Series.
新对话如下:
Thank you. I did it but when i connect with my datalogger all the values of my table are 0.0 and NAN. In this code are there anymore wrong?
Public Batt_Volt
Public WXT510(15)
Alias WXT510(1)=Wdmin
Alias WXT510(2)=Wdavg
Alias WXT510(3)=Wdmax
Alias WXT510(4)=Wsmin
Alias WXT510(5)=Wsavg
Alias WXT510(6)=Wsmax
Alias WXT510(7)=airtemp
Alias WXT510(8)=relhumidity
Alias WXT510(9)=airpressure
Alias WXT510(10)=Ramount
Alias WXT510(11)=Rduration
Alias WXT510(12)=Rintensity
Alias WXT510(13)=Hamount
Alias WXT510(14)=Hduration
Alias WXT510(15)=Hintensity
DataTable (Table1,True,-1)
DataInterval(0,1,Min)
Minimum(1,Batt_Volt,False,False)
Sample(1,airpressure)
Sample(1,airtemp)
Sample(1,relhumidity)
Sample(1,Wdavg)
Sample(1,Wdmax)
Sample(1,Wdmin)
Sample(1,Wsavg)
Sample(1,Wsmax)
Sample(1,Wsmin)
EndTable
BeginProg
Scan(5,Sec)
Battery(Batt_Volt)
SDI12Recorder(WXT510(1),"0M1",1,0)
SDI12Recorder(WXT510(7),"0M2!",1,0)
SDI12Recorder(WXT510(10),"0M3!",1,0)
CallTable(Table1)
NextScan
EndProg
Thanks again
* Last updated by: Rali on 3/1/2010 @ 3:03 PM *
I've tried to connect my wxt520 with the terminal emulator, but when I execute the command 0M1! and then 0D0! the response is only 0 instead of 0+339+018 etc. I've revised all the wires and they are ok. I think that it would be the problem but i have no idea to solve it.
Thank you.