Section 2. Programming the Datalogger
2-4
2.2 Speak Text Command
The speak text command can be used for alarming conditions. Example 2-4 is
a program that shows how the speak text command could be formatted.
Example 2-4. Program to send text string to the Vosponder
*Table 1 Program
01: 10
Execution Interval(seconds)
1: Batt Voltage (P10)
1:
1
Loc [ BatVolts ]
;IF BATTERY VOLTAGE IS LESS THAN 10.5 VOLTS…
1: If (X<=>F) (P89)
1:
1
X Loc [BatVolts ]
2:
4
<
3:
10.5
F
4:
30
Then Do
;EVERY FIVE MINUTES
2: If time is (P92)
1:
0
Minutes (Seconds --) into a
2:
5
Interval (same units as above)
3:
30
Then Do
;INITIATE AN ALARM MESSAGE OVER THE RADIO LINK
11: SDI-12 Recorder (P105)
1:
1
SDI-12 Address
2:
0
Start Measurement (aM0!)
3:
1
Port
;Control Port C1
4:
1
Loc [ BatVolts ]
;Starting location, but ignored
5:
1.0
Mult
;in “Speak Text” mode
6:
0.0
Offset
12: Extended Parameters 4 Digit (P68)
1:
88
Option
;Send “X” to indicate an extended command
2:
84
Option
;Send “T”, Speak Text Command
3:
32
Option
;Send a Space Character
4:
83
Option
;Send “S”
5:
73
Option
;Send “I”
6:
84
Option
;Send “T”
7:
69
Option
;Send “E”
8:
32
Option
;Send a Space Character
13: Extended Parameters 4 Digit (P68)
1:
51
Option
;Send “3”
2:
49
Option
;Send “1”
3:
32
Option
;Send a Space Character
4:
76
Option
;Send “L”
5:
79
Option
;Send “o”
6:
87
Option
;Send “w”
7:
32
Option
;Send a Space Character
8:
66
Option
;Send “B”
Содержание Vospoder
Страница 4: ...This is a blank page ...
Страница 12: ...Section 1 Hardware 1 4 This is a blank page ...
Страница 36: ...Section 4 Vosponder Configuration and Programming 4 12 This is a blank page ...
Страница 50: ...Appendix D Terminal Commands Menu Tree D 2 This is a blank page ...
Страница 56: ...Appendix F Datalogger Program Example F 4 This is a blank page ...
Страница 57: ...This is a blank page ...