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.

WXT 520 problems


CR1000 Feb 3, 2014 09:27 PM

Hi
we have 3 vaisala weather station, two of them are reporting just fine but the third one is reporting 0 and NAN values.
I used the same CR basic program for all three.
Can anyone give me any suggestion?

Thanks
Mohammad
CR basic codes:
Dim BattV(1)
Dim Results(9)
Public PTemp
Public Batt_Volt
Public WS_ms
Public SlrkW
Public SlrkJ
Public Temp_C
Public CMP21_Irr
Public CMP21_T_C
Public CMP21_T_K
Dim Rs,Vs_Vx
Alias Results(1)=WindDir
Alias Results(2)=WindSpd
Alias Results(3)=AirTemp
Alias Results(4)=RelHum
Alias Results(5)=AirPress
Alias Results(6)=RainAmt
Alias Results(7)=HailAmt
Alias Results(8)=Result8
Alias Results(9)=Result9

Units WS_ms=meters/second
Units SlrkW=kW/m^2
Units SlrkJ=kJ/m^2
Units Temp_C=Deg C
Units WindDir=Degrees
Units WindSpd=m/s
Units AirTemp=Celsius
Units RelHum=%
Units AirPress=hPa
Units RainAmt=mm
Units HailAmt=hits/cm2
Units Result8=Units
Units Result9=Units
Units CMP21_Irr = W/m2
Units CMP21_T_C = Degrees C
Units CMP21_T_K = Degrees K

DataTable (TenMin,1,-1)
DataInterval(0,1,Min,10)
Minimum (1,Batt_Volt,FP2,0,False)
Sample (1,PTemp,FP2)
Average (1,CMP21_Irr,FP2,False)
StdDev (1,CMP21_Irr,FP2,False)
Average (1,CMP21_T_C,FP2,False)
StdDev (1,CMP21_T_C,FP2,False)
Average (1,CMP21_T_K,FP2,False)
StdDev (1,CMP21_T_K,FP2,False)


Average(1,WindDir,FP2,False)
Average(1,WindSpd,FP2,False)
Maximum(1,WindSpd,FP2,False,True)
Average(1,AirTemp,FP2,False)
Average(1,RelHum,FP2,False)
Average(1,AirPress,FP2,False)
Average(1,RainAmt,FP2,False)
Average(1,HailAmt,FP2,False)
Average(1,SlrkW,FP2,False)
Totalize(1,SlrkJ,IEEE4,False)
Average(1,Temp_C,FP2,False)
Maximum(1,AirTemp,FP2,False,True)
EndTable

DataTable(BattV,True,-1)
DataInterval(0,1440,Min,10)
Minimum(1,BattV,FP2,False,False)
EndTable

'Main Program
BeginProg
'Main Scan
Scan(5,Sec,1,0)
'Default Datalogger Battery Voltage measurement 'BattV'
PanelTemp (PTemp,250)
Battery (Batt_Volt)
Battery(BattV)
VoltDiff (CMP21_Irr,1,mV25C,3,True,10000,_60Hz,1000/8.65,0)
'CMP21 Thermistor Measurement
BrHalf (Vs_Vx,1,mV5000,15,Vx1,1,2500,True ,0,250,1.0,0)
Rs = 1000*(Vs_Vx/(1-Vs_Vx))
CMP21_T_C = 1/(1.0295e-3+2.391e-4*LN(Rs)+1.568e-7*(LN(Rs))^3)-273.15
'Convert CMP21 temp to Kelvin.
CMP21_T_K = CMP21_T_C+273.15
'Generic SDI-12 Sensor measurements 'WindDir', 'WindSpd', 'AirTemp',
'RelHum', 'AirPress', 'RainAmt', 'HailAmt', 'Result8', and 'Result9'
SDI12Recorder(Results(),7,0,"M!",1,0)
'014A Wind Speed Sensor measurement 'WS_ms'
PulseCount(WS_ms,1,1,2,1,0.8,0.447)
If WS_ms<0.457 Then WS_ms=0

'Type T (copper-constantan) Thermocouple measurements 'Temp_C'
TCDiff(Temp_C,1,mV2_5C,2,TypeT,BattV,True,0,_60Hz,1,0)
'Call Data Tables and Store Data

CallTable(BattV)
CallTable TenMin
NextScan

EndProg


smile Feb 4, 2014 10:29 PM

the suggestion might be trivial, but agrees groped. The third wtx520, has the same SDI-12 address 0 of the other two? Are you using the same cable or the third probe has its own cable?

smile


CR1000 Feb 6, 2014 01:58 PM

All of them are connected to separate CR1000, thats why I used same CR basic codes. But somehow third one is not reporting. Terminal emulator also showing SDI12 failed for third one.


smile Feb 6, 2014 06:32 PM

Are you sure that the probe works well? maybe it's time to do a test with USB and / or RS232.

Smile


CR1000 Feb 10, 2014 06:10 PM

The WXT520 are in seperate locations. I have to check the prove remotely. Is there any way to check prove remotely?
Thanks


EarlyBird Feb 11, 2014 08:21 AM

Check the Address of the sensor using the ?! SDI12 command.


CR1000 Feb 20, 2014 02:52 PM

I tried to work with terminal emulator.

In the terminal emulator, I entered SDI 12, then it ask me for the port number, and then writing the port number, i can check the with "?!" which gives me SDI 12 failed.

In the terminal emulator I can not directly use ?!SDI12

Thanks


dashti Mar 5, 2018 11:37 AM

CR1000,

I am facing the same problem wit the terminal emulator SDI-12 failed, I know its been 4 years for this topic.

Have you solved this problem?

Best Regards,

Ali

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