Appendix A. CRBasic Programming Instructions
485
Timer
Returnsthevalueofatimer.
Syntax
variable = Timer(TimNo, Units, TimOpt)
A.9 Voice-Modem Instructions
Note Refer to the Campbell Scientific voice-modem manuals for complete
information.
DialVoice
DefinesthedialingstringforaCOM310voicemodem.
Syntax
DialVoice(DialString)
VoiceBeg,EndVoice
MarksthebeginningandendingofvoicecodeexecutedwhentheCR800detects
aringfromavoicemodem.
Syntax
VoiceBeg
[voice code to be executed]
EndVoice
VoiceHangup
Hangsupthevoicemodem.
Syntax
VoiceHangup
VoiceKey
Recognizesthereturnofcharacters1‐9,*,or#.VoiceKeyisoftenusedtoadda
delay,whichprovidestimeforthemessagetobespoken,ina
VoiceBegin/EndVoicesequence.
Syntax
VoiceKey(TimeOut*IDH_Popup_VoiceKey_Timeout)
VoiceNumber
Returnsoneormorenumbers(1‐9)terminatedbythe#or*key.
Syntax
VoiceNumber(TimeOut*IDH_POPUP_VoiceKey_Timeout)
VoicePhrases
ProvidesalistofphrasesforVoiceSpeak().
Syntax
VoicePhrases(PhraseArray, Phrases)
VoiceSetup
Controlsthehang‐upoftheCOM310voicemodem.
Syntax
VoiceSetup(HangUpKey, ExitSubKey, ContinueKey, SecsOnLine,
UseTimeout, CallOut)