B-1
Appendix B. Example Programs
B.1 CR1000 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.
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-1. CR1000 Program Using Differential Measurements
'CR1000 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 Top signal (red)
'1L CNR4 Pyranometer Top signal reference (blue)
'gnd jumper to 1L
'
'2H CNR4 Pyranometer Bottom signal (white)
'2L CNR4 Pyranometer Bottom signal reference (black)
'gnd jumper to 2L
'
'3H CNR4 Pyrgeometer Top signal (grey)
'3L CNR4 Pyrgeometer Top signal reference (yellow)
'gnd jumper to 3L
'
'4H CNR4 Pyrgeometer Bottom signal (brown)
'4L CNR4 Pyrgeometer Bottom signal reference (green)
'gnd jumper to 4L
' CNR4 shield (clear)
Содержание CNR4
Страница 2: ......
Страница 6: ......
Страница 10: ...Table of Contents iv ...
Страница 36: ...CNR4 Net Radiometer 26 ...
Страница 38: ......
Страница 52: ...Appendix B Example Programs B 14 ...
Страница 68: ...Appendix D CNF4 Heater Ventilator D 12 ...
Страница 69: ......