beautypg.com

Campbell Scientific CS500-L Temperature and Relative Humidity Probe User Manual

Page 14

background image

CS500 Temperature and Relative Humidity Probe

10

Example 1. Sample CR10(X) Program that Computes Vapor Pressure
and Saturation Vapor Pressure

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

1:

1

Reps

2:

5

2500 mV Slow Range

;CR500 (2500 mV); CR23X (1000 mV); 21X,
CR7 (5000 mV)

3:

3

SE Channel

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

4:

1

Loc [ T_C ]

5:

.1

Mult

;See Table 2 for alternate multipliers

6:

-40

Offset

;See Table 2 for alternate offsets

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

1:

1

Reps

2:

5

2500 mV Slow Range

;CR500 (2500 mV); CR23X (1000 mV); 21X,
CR7 (5000 mV)

3:

4

SE Channel

;Brown wire (SE 4), Green wire (G)

4:

2

Loc [ RH_frac ]

5:

.001

Mult

;See Table 3 for alternate multipliers

6:

0

Offset

;Limit the maximum value of relative humidity
;to 1 (expressed as a fraction).
;
03: If (X<=>F) (P89)

1:

2

X Loc [ RH_frac ]

2:

3

>=

3:

1

F

4:

30

Then Do

04: Z=F (P30)

1:

1

F

2:

0

Exponent of 10

3:

2

Z Loc [ RH_frac ]

05: End (P95)

;Compute the saturation vapor pressure in kPa.
;The temperature must be in degrees Celsius.
;
06: Saturation Vapor Pressure (P56)

1:

1

Temperature Loc [ T_C ]

2:

3

Loc [ e_sat ]