beautypg.com

B.2.2 edlog differential measurement program, B.2.2 – Campbell Scientific HMP155A Temperature and Relative Humidity Probe User Manual

Page 32

background image

Appendix B. Example Programs

B.2.2 Edlog Differential Measurement Program

Below is an example CR10X program. Information about using it with other

Edlog dataloggers are provided in the program’s comments.

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

Set Port 1 High

;Jumper wire from SW12V control to C1

;Green wire (C1) if using SW12V device

;For CR23X or CR5000 use 49 for SW12V internal

;control port


;Pause 2 seconds 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: 500

Delay After Ex (units = 0.01 sec)

4: 0

mV Excitation


;Measure the HMP155A temperature.
;
03: Volt (Diff) (P2)
1: 1

Reps

2: 5

2500 mV Slow Range

;CR510, CR500 (2500mv); CR23X (1000 mV);

21X, CR7 (5000 mV)

3: 2

DIFF Channel

;Yellow wire (2H), jumper (2L to 1L)

4: 1

Loc [ T_C ]

5: .14

Mult

;See TABLE 7-4 for alternative multipliers

6: -80

Offset

;See TABLE 7-4 for alternative offsets


;Measure the HMP155A relative humidity.
;
04: Volt (Diff) (P2)
1: 1

Reps

2: 5

2500 mV Slow Range

;CR510, CR500 (2500mv); CR23X (1000 mV);

21X, CR7 (5000 mV)

3: 1

DIFF Channel

;Blue wire (1H), white or purple wire (1L)

4: 2

Loc [ RH_pct ]

5: .1

Mult

;See TABLE 7-5 for alternative multipliers

6: 0

Offset


;Turn the HMP155A off.
;
05: Do (P86)
1: 51

Set Port 1 Low

;Jumper wire from SW12V control to C1

;Green wire (C1) if using SW12V device

;For CR23X or CR5000 use 59 for SW12V internal

;control port

B-4