A-1
Appendix A. Example Programs
A.1 CR1000X Program
This CR1000X program makes five measurements then averages the readings
to reduce error from ripples in the water.
CRBasic Example A-1. CR1000X Program for the 255-100 Novalynx Evaporation Ga
u
ge
'CR1000X Series Datalogger
'Example program for 255-100 Novalynx evaporation ga
u
ge
Public
PTemp, batt_volt
Public
PanLevel
Dim
Leveltemp(5)
Const
PanMultiplier = 1
'Adjust Pan Multiplier and PanOffset
Const
PanOffset = 0
'according to sensor calibration
Units
PanLevel = Inches
DataTable
(Hourly,1,-1)
DataInterval
(0,60,min,10)
Sample
(1,PanLevel,FP2)
Minimum
(1,batt_volt,FP2,0,False)
Sample
(1,PTemp,FP2)
EndTable
BeginProg
Scan
(60,Sec,0,0)
PanelTemp
(PTemp,60)
Battery
(Batt_volt)
'Make five measurements then average the readings to reduce error from ripples in the water
'The SE Chan parameter uses a negative sign “-1” to force all 5 reps to be read on channel 1.
BrHalf
(Leveltemp(),5,mV5000,-1,Vx1,5,2500,True ,20000,60,PanMultiplier,PanOffset)
AvgSpa
(PanLevel,5,Leveltemp(1))
'Call data tables
CallTable
Hourly
NextScan
EndProg