Instruction manual
Appendix B. Example Programs 
B.3  CR5000 Program Using Differential 
Measurements 
This example requires four differential channels to measure the four radiation 
outputs, 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. 
The variables for the CR5000 datalogger can be up to 16 
characters in length. However, if the variable is processed in the 
output table by an output type other than Sample, the name will be 
truncated in the datalogger to 12 characters, plus an underscore 
and a 3 digit suffix indicating the output type (for example, _avg, 
_max). 
  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 
'CR5000 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 
' 
NOTE 
B-7 










