beautypg.com

Campbell Scientific HC2S3 Temperature and Relative Humidity Probe User Manual

Page 21

background image

Model HC2S3 Temperature and Relative Humidity Probe

CR1000 program using single-ended measurements

'CR1000 program to measure HC2S3 with single-ended inputs

Public AirTC

Public RH
Units AirTC=Deg C
Units RH=%


DataTable(Table1,True,-1)
DataInterval(0,60,Min,10)

Average(1,AirTC,FP2,False)
Sample(1,RH,FP2)
EndTable


BeginProg

Scan(5,Sec,1,0)
PortSet(9,1)

'Turn on switched 12V

Delay(0,3,Sec)

'3-second delay

'HC2S3 Temperature & Relative Humidity Sensor measurements AirTC and RH:
VoltSE(RH,1,mV2500,1,0,0,_60Hz,0.1,0)
VoltSe(AirTC,1,mV2500,2,0,0,_60Hz,0.1,-40)

PortSet(9,0)

'Turn off switched 12V

If RH>100 AND RH<103 Then RH=100
CallTable(Table1)


NextScan
EndProg

CR10(X) program using single-ended measurement instructions

;{CR10X} program to measure HC2S3 with single-ended inputs

*Table 1 Program
01: 5.0000 Execution

Interval

(seconds)


1: Do (P86)

;Turn on switched 12V

1: 41

Set Port 1 High

;Jumper from C1 to SW 12V CTRL


2: Excitation with Delay (P22)

;3-second delay

1: 1

Ex

Channel

2: 0

Delay W/Ex (0.01 sec units)

3: 300

Delay After Ex (0.01 sec units)

4: 0

mV

Excitation


;HC2S3 Temperature & Relative Humidity Sensor measurements AirTC and RH:

3: Volt (SE) (P1)
1: 1

Reps

2: 25

2500 mV 60 Hz Rejection Range

3: 2

SE

Channel

4: 2

Loc

[

AirTC

]

5: 0.1

Multiplier

6: -40.0

Offset

15