2 example cr200(x) program, Example cr200(x) program, 3. wiring for example 2 – Campbell Scientific CS511 Dissolved Oxygen Probe User Manual
Page 19

CS511-L Dissolved Oxygen Probe
7.2.1.2 Example CR200(X) Program
The CR200(X)-series must use the VoltSE() instruction since these dataloggers
do not make differential measurements. If the other CRBasic dataloggers use
the VoltSE() instruction instead of the VoltDiff() instruction, their
programming will be similar to this example. TABLE 7-3 shows the wiring for
the example.
TABLE 7-3. Wiring for CR200(X) Example
CR200(X) Connection
Sensor Wire
SE1 White
Ground Black
Ground Clear
'CR200(X) Series
'Declare Variables and Units
Public Batt_Volt
Public DOmV
Public DOppm
Units Batt_Volt=Volts
Units DOmV=mV
Units DOppm=ppm
'Define Data Tables
DataTable(Table1,True,-1)
DataInterval(0,60,Min)
Sample(1,DOmV)
EndTable
DataTable(Table2,True,-1)
DataInterval(0,1440,Min)
Minimum(1,Batt_Volt,False,False)
EndTable
'Main Program
BeginProg
Scan(10,Sec)
'Default Datalogger Battery Voltage measurement Batt_Volt:
Battery(Batt_Volt)
'CS511 Dissolved Oxygen Probe measurements DOmV and DOppm:
VoltSE(DOmV,1,1,1,0)
DOppm=DOmV*0.34
'Call Data Tables and Store Data
CallTable(Table1)
CallTable(Table2)
NextScan
EndProg
13