beautypg.com

3 example programs, Example programs, Cr3000 example program without wind speed – Campbell Scientific NR-LITE2 Net Radiometer User Manual

Page 21: Correction, 3. wiring for cr3000 example

background image

NR-LITE2 Net Radiometer

the calibration factor into 1000. For example, if the calibration factor is 15.8
µV/(W m

-2

), the multiplier is:

1000/15.8 = 63.29 (W m

-2

)/mV

7.2.3 Example Programs

7.2.3.1 CR3000 Example Program without Wind Speed Correction

Shown below is an example program written for the CR3000 datalogger.
TABLE 7-3 provides the wiring for the example program. In this example, the
datalogger measures the output from the sensor every 5 seconds and outputs
the average net radiation every hour. The calibration factor used will only
apply for one specific sensor. A new value will need to be calculated for every
different sensor based on the Certificate of Calibration for that sensor (Section
7.2.2, Calibration Factor).

TABLE 7-3. Wiring for CR3000 Example

Color Function CR3000

Channels

Red Radiation

Signal

1H

Blue Signal

Reference

1L

Jumpered to

Black Shield

'CR3000

'Declare Variables and Units

Public BattV
Public NR_Wm2


Units BattV=Volts
Units NR_Wm2=W/meter^2


'Define Data Tables
DataTable(Table1,True,-1)

DataInterval(0,60,Min,10)
Average(1,NR_Wm2,FP2,False)
EndTable


DataTable(Table2,True,-1)

DataInterval(0,1440,Min,10)
Minimum(1,BattV,FP2,False,False)
EndTable


'Main Program
BeginProg

Scan(5,Sec,1,0)
'Default Datalogger Battery Voltage measurement BattV
Battery(BattV)

'NR-LITE2 Net Radiometer (no wind speed correction) measurement NR_Wm2
VoltDiff(NR_Wm2,1,mV50,1,True,0,_60Hz,100,0)
'Call Data Tables and Store Data

CallTable(Table1)
CallTable(Table2)

NextScan
EndProg

15