beautypg.com

Campbell Scientific HMP45C Temperature and RH Probe User Manual

Page 12

background image

Model HMP45C Temperature and Relative Humidity Probe

CR1000 Program using Single-Ended Measurement Instructions Using SW12V on Datalogger

'CR1000 program to measure HMP45C with single-ended measurements

Public AirTC
Public RH

DataTable(Temp_RH,True,-1)
DataInterval(0,60,Min,0)
Average(1,AirTC,IEEE4,0)
Sample(1,RH,IEEE4)
EndTable

BeginProg
Scan(1,Sec,1,0)

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

SW12

(1

)

Delay(0,150,mSec)
VoltSE(AirTC,1,mV2500,2,0,0,_60Hz,0.1,-40.0)
VoltSE(RH,1,mV2500,1,0,0,_60Hz,0.1,0)
SW12

(0)

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

CallTable(Temp_RH)
NextScan
EndProg

CR10(X) Program using Single-Ended Measurement Instructions Using SW12V on Datalogger

;Turn the HMP45C on.
;
01: Do (P86)
1: 41

Set Port 1 High

;Jumper wire from SW12V control to C1

;Orange wire (C1) if older wiring

;Green wire (C1) if using SW12V device

;For CR23X or CR5000 use 49 for SW12V internal

;control

port


;Pause 150 mSec before making measurements so the
;probe can stabilize on true readings.
;
02: Excitation with Delay (P22)
1: 1

Ex

Channel

2: 0

Delay W/Ex (units = 0.01 sec)

3: 15

Delay After Ex (units = 0.01 sec)

4: 0

mV

Excitation

8