beautypg.com

Campbell Scientific HMP50 Temperature and Relative Humidity Sensor User Manual

Page 15

background image

HMP50 Temperature and Relative Humidity Probe

'CR1000

Public AirTC
Public RH
Public VP

DataTable(Table1,True,-1)
DataInterval(0,60,Min,0)
Average(1,AirTC,FP2,0)
Sample(1,RH,FP2)
Average(1,VP,

FP2,0)

EndTable

BeginProg
Scan(5,Sec,1,0)

'HMP50 Temperature & Relative Humidity Sensor measurements AirTC and RH:

VoltSE(AirTC,1,mV2500,1,0,0,_60Hz,0.1,-40.0)
VoltSE(RH,1,mV2500,2,0,0,_60Hz,0.1,0)

If (RH>100) And (RH<108) Then RH=100

VaporPressure(VP,AirTC,RH)
CallTable(Table1)
NextScan
EndProg

7.2 Sample CR10(X) Program that Computes Vapor Pressure

and Saturation Vapor Pressure

;Measure the HMP50 temperature.
;
01: Volt (SE) (P1)
1: 1

Reps

2: 5

2500 mV Slow Range

;CR510 (2500 mV); CR23X (1000 mV); 21X,

CR7

(5000

mV)

3: 3

SE

Channel

;Black wire (SE 3), Blue wire (G)

4: 1

Loc [ T_C ]

5: .1

Mult

;See Table 3 for alternate multipliers

6: -40

Offset

;See Table 3 for alternate offsets


;Measure the HMP50 relative humidity.
;
02: Volt (SE) (P1)
1: 1

Reps

2: 5

2500 mV Slow Range

;CR510 (2500 mV); CR23X (1000 mV); 21X,

CR7

(5000

mV)

3: 4

SE

Channel

;White wire (SE 4), Blue wire (G)

4: 2

Loc [ RH_frac ]

5: .001

Mult

;See Table 4 for alternate multipliers

6: 0

Offset

11