beautypg.com

2 cr10x program example – Campbell Scientific SDM-AO4 4-Channel Continuous Analog Output Module User Manual

Page 14

background image

SDM-AO4 Four Channel Analog Output

6.3.2 CR10X Program Example

Although this program is for a CR10X, programming for other Edlog
dataloggers is similar.

;{CR10X}
*Table 1 Program
01: 1.0000 Execution

Interval

(seconds)


; Code for 03001 wind measurements, WS_ms & WindDir:

1: Pulse (P3)
1: 1

Reps

2: 1

Pulse

Channel

1

3: 21

Low Level AC, Output Hz

4: 1

Loc [ WS_ms ]

5: 0.75

Mult

6: 0.2

Offset


2: Excite-Delay (SE) (P4)
1: 1

Reps

2: 5

2500 mV Slow Range

3: 1

SE

Channel

4: 1

Excite all reps w/Exchan 1

5: 2

Delay (0.01 sec units)

6: 2500

mV

Excitation

7: 2

Loc [ WD_0_360 ]

8: 0.142

Mult

9: 0

Offset


; Code for CS500 measurement, AirTC and RH:

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

Reps

2: 25

2500 mV 60 Hz Rejection Range

3: 3

SE

Channel

4: 3

Loc [ Temp_C ]

5: 0.1

Mult

6: -40.0

Offset


4: Volt (SE) (P1)
1: 1

Reps

2: 25

2500 mV 60 Hz Rejection Range

3: 2

SE

Channel

4: 4

Loc [ RH ]

5: 0.1

Mult

6: 0

Offset


; Output Data Every Minute

10