
Appendix B. Example Programs
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 up)
Average short-wave radiation (pyranometer down)
Average long-wave radiation (pyrgeometer up)
Average long-wave radiation (pyrgeometer down)
Average CNR4 thermistor temperature (degrees C)
Average CNR4 thermistor temperature (Kelvin)
Average corrected long-wave radiation (pyrgeometer up)
Average corrected long-wave radiation (pyrgeometer down)
Average short-wave net radiation
Average long-wave net radiation
Average albedo
Average net radiation
'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 jumnper 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)
'gnd CNR4 thermistor signal reference (black)
' CNR4 thermistor shield (clear)
'
B-4
Comentários a estes Manuais