Appendix B. Example Programs
B-4
B.2 CR3000 Program Using Differential
Measurements
This example requires four differential channels to measure the four radiation
outputs and one excitation channel and one single-ended channel to measure
the thermistor. The program measures the sensors every 1 second, performs the
online processing of the data and stores the following processed data to a data
table called cnr4_data once every 60 minutes. It also stores the raw time-series
data from CNR4 to data table called cnr4_ts.
Minimum battery voltage
Sample datalogger panel temperature
Average short-wave radiation (pyranometer top)
Average short-wave radiation (pyranometer bottom)
Average long-wave radiation (pyrgeometer top)
Average long-wave radiation (pyrgeometer bottom)
Average CNR4 thermistor temperature (degrees C)
Average CNR4 thermistor temperature (Kelvin)
Average corrected long-wave radiation (pyrgeometer top)
Average corrected long-wave radiation (pyrgeometer bottom)
Average short-wave net radiation
Average long-wave net radiation
Average albedo
Average net radiation
CRBasic Example B-2. CR3000 Program Using Differential Measurements
'CR3000 Series Datalogger
'
'CNR4 program
'This program measures CNR4 four-component net radiometer
'This program also measures the thermistor inside the CNR4
'
'User must enter the sensitivity values for all four probes in the program and save/compile
'prior to downloading it to the datalogger.
'Search for the text string "unique" to find places to enter the sensitivity values.
'
'Wiring Instructions
'
'ANALOG CHANNELS
'1H CNR4 Pyranometer Upper signal (red)
'1L CNR4 Pyranometer Upper signal reference (blue)
'gnd jumper to 1L
'
'2H CNR4 Pyranometer Lower signal (white)
'2L CNR4 Pyranometer Lower signal reference (black)
'gnd jumper to 2L
'
'3H CNR4 Pyrgeometer Upper signal (grey)
'3L CNR4 Pyrgeometer Upper signal reference (yellow)
'gnd jumper to 3L
'
'4H CNR4 Pyrgeometer Lower signal (brown)
'4L CNR4 Pyrgeometer Lower signal reference (green)
'gnd jumper to 4L
' CNR4 shield (clear)
'
'
'8H
'8L CNR4 thermistor signal (white)
Summary of Contents for CNR4
Page 2: ......
Page 6: ......
Page 10: ...Table of Contents iv ...
Page 36: ...CNR4 Net Radiometer 26 ...
Page 38: ......
Page 52: ...Appendix B Example Programs B 14 ...
Page 68: ...Appendix D CNF4 Heater Ventilator D 12 ...
Page 69: ......