CS451/CS456 Submersible Pressure Transducer
7.4.1 CRBasic Programming
Dataloggers that use CRBasic include our CR200(X)-series, CR800, CR850,
CR1000, CR3000, and CR5000. These dataloggers use the
SDI12Recorder()
to read the CS451/CS456. A multiplier of 1.0 and an offset of 0.0 yield water
level in psig and temperature in degrees C.
The
SDI12Recorder()
instruction has the following form:
SDI12Recorder(
Destination, Output String, Multiplier, Offset
)
7.4.1.1 Example Program for CR200(X)-Series Datalogger
'CR200(X) Series
'Declare the variable for the water level measurement
Public CS451(2)
'Rename the variable names
Alias CS451(1)=Level
Alias CS451(2)=Temp_C
'Define a data table for 60 minute maximum and minimums
DataTable(Hourly,True,-1)
DataInterval(0,60,Min)
Maximum(1,Level,0,0)
Minimum(1,Level,0,0)
Maximum(1,Temp_C,0,0)
Minimum(1,Temp_C,0,0)
EndTable
'Read sensor every 60 seconds
BeginProg
Scan(60,sec)
'Code for SDI-12 measurements:
SDI12Recorder(CS451,0M!,1,0)
'Call the data table:
CallTable(Hourly)
NextScan
EndProg
21
Содержание CS451
Страница 2: ......
Страница 32: ...CS451 CS456 Submersible Pressure Transducer 26 ...
Страница 34: ...Appendix A Calibration Certificate A 2 ...
Страница 35: ......