B-1
Appendix B. Example Program
The nominal calibration sensitivity is 67.1
µ
V/W
–2
for the HFP01#1 and
67.0
µ
V/W
–2
for the HFP01#2. In CRBasic Example
, the nominal
calibration sensitivity is 67.1
µ
V/W
–2
.
TABLE B-1. Wiring for CRBasic Example B-1
Description
Color CR3000
Sensor Signal #1
White
7H
Sensor Signal Reference #1
Green
7L
Shield #1
Clear
⏚
Sensor Signal #2
White
8H
Sensor Signal Reference #2
Green
8L
Shield #2
Clear
⏚
CRBasic Example B-1. Sample CR3000 Program using Differential Measurement Instructions
'CR3000 Series Data Logger
'This data logger program measures two HFP01 Hukseflux soil heat flux sensors
'*** Constants ***
Const
HFP01_CAL_1 = 14.90
'Unique multiplier for HFP01 #1. 1000/sensitivity (1000/67.1)
Const
HFP01_CAL_2 = 14.92
'Unique multiplier for HFP01 #2. 1000/sensitivity (1000/67.0)
'*** Energy balance sensor variables ***
Public
shf(2)
Dim
shf_cal(2)
'Soil heat flux plate calibration coefficients.
Units
shf = W/m^2
'*** Final Output Data Tables ***
DataTable
(soil_hf,TRUE,-1)
DataInterval
(0,30,Min,10)
Average
(2,shf(1),IEEE4,FALSE)
EndTable
'*** Program ***
BeginProg
'Load the HFP01 factory calibration.
shf_cal(1) = HFP01_CAL_1
shf_cal(2) = HFP01_CAL_2
Scan
(1,Sec,3,0)
'Measure the HFP01 soil heat flux plates.
VoltDiff
(shf(1),2,mV50C,7,TRUE,200,250,shf_cal(),0)
CallTable
soil_hf
NextScan
EndProg