Campbell Scientific VSP3 Vosponder Voice Radio Interface User Manual

Page 54

Advertising
background image

Appendix F. Datalogger Program Example

F-2

7: SDI-12 Recorder (P105)

1:

1

SDI-12 Address

2:

0

Start Measurement (aM0!)

3:

1

Port

4:

1

Loc [ BatVolts ]

5:

1.0

Mult

6:

0.0

Offset

8: Extended Parameters 4 Digit (P68)

1:

88

Option

;X

2:

83

Option

;S

3:

0000

Option

;End of command marker

4:

0000

Option

5:

0000

Option

6:

0000

Option

7:

0000

Option

8:

0000

Option

9: End (P95)

;IF THE BATTERY VOLTAGE DROPS BELOW 10.5 VDC THEN...
10: If (X<=>F) (P89)

1:

1

X Loc [ BatVolts ]

2:

4

<

3:

10.5

F

4:

30

Then Do

;EVERY 10 MINUTES...
11: If time is (P92)

1:

0

Minutes (Seconds --) into a

2:

10

Interval (same units as above)

3:

30

Then Do

;IMMEDIATELY BROADCAST "SITE 31, ALARM LOW BATTERY"
12: SDI-12 Recorder (P105)

1:

1

SDI-12 Address

2:

0

Start Measurement (aM0!)

3:

1

Port

4:

1

Loc [ BatVolts ]

5:

1.0

Mult

6:

0.0

Offset

13: Extended Parameters 4 Digit (P68)

1:

88

Option

;X

2:

84

Option

;T

3:

32

Option

;space

4:

83

Option

;S

5:

73

Option

;I

6:

84

Option

;T

7:

69

Option

;E

8:

32

Option

;space

Advertising