Owner's manual

LI190SB Quantum Sensor
5.2 Example Programs
The following programs measure the LI190SB every 10 seconds, and convert
the mV output to µmoles s
-1
m
-2
and mmoles m
-2
. Both programs output an
hourly average flux (µmoles s
-1
m
-2
) and a daily total flux density (mmoles
m
-2
). Wiring for the examples is given in Table 5-2. Multipliers in the
example programs are based upon a sensor with a calibration constant of 6.45
µA/1000 µmoles s
-1
m
-2
.
TABLE 5-2. Wiring for Example Programs
Color Description CR1000 CR10X
Red Signal 1H 1H
*Black Signal Reference 1L 1L
Clear Shield
G
*Jumper to AG or
with user supplied wire.
5.2.1 CR1000 Example Program
'CR1000
'Declare Variables and Units
Public PAR_Den
Public PAR_Tot
Units PAR_Den=µmol/s/m²
Units PAR_Tot=mmol/m²
'Define Data Tables
DataTable(Table1,True,-1)
DataInterval(0,60,Min,10)
Average(1,PAR_Den,FP2,False)
EndTable
DataTable(Table2,True,-1)
DataInterval(0,1440,Min,10)
Totalize(1,PAR_Tot,IEEE4,False)
EndTable
'Main Program
BeginProg
Scan(10,Sec,1,0)
'LI190SB Quantum Sensor measurements PAR_Tot and PAR_Den:
VoltDiff(PAR_Den,1,mV25,1,True,0,_60Hz,1,0) 'Use 20 mV range for CR3000, CR5000
'Set negative values to zero
If PAR_Den<0 Then PAR_Den=0
PAR_Tot=PAR_Den*2.56686 'Multipliers will differ for each sensor and scan rate
PAR_Den=PAR_Den*256.686
'Call Data Tables and Store Data
CallTable(Table1)
CallTable(Table2)
NextScan
EndProg
8