Campbell Scientific Bowen Ratio Instrumentation User Manual
Page 24

Section 3. Sample CR23X Program
3-4
Subroutine 1
Output the time processing is re-enabled
Reset Flag 5 (Re-enable Output)
[output process]
Day, Hour:Minute
Subroutine 2
Turn the cooled mirror and pump on/off in response to a user flag or battery voltage
Yes
Flag 6 Set ?
No
Set Port 3 High
(Turn on Pump and Mirror)
Reset Flag 6
Yes
Flag 7 Set ?
No
Set Port 4 High
(Turn off Pump and Mirror)
Reset Flag 7
Yes
Battery Volts < 11.5 ?
No
Yes
Flag 3 Reset ?
No
Yes
Flag 3 Reset ?
No
Yes
Battery Voltage
≥ 12
No
Set Port 4 High
Delay 0.01 Seconds
Set Port 4 Low
Set Flag 3
[output process]
Day, Hour:Minute
Battery Voltage (smpl)
Set Port 3 High
Delay 0.01 Seconds
Set Port 3 Low
Reset Flag 3
[output process]
Day, Hour:Minute
Battery Voltage (smpl)
Subroutine 3
Positive net radiation
Apply positive wind speed correction to positive Net Radiation
Subroutine 4
Negative net radiation
Apply negative wind speed correction to negative Net Radiation