Appendix A. CRBasic Programming Instructions
If TimeIntoInterval(TintoInt, Interval, Units)
TimeIsBetween
Determines if the CR1000 real-time clock falls within a range of time.
Syntax
TimeIsBetween(BeginTime, EndTime, Interval, Units)
Timer
Returns the value of a timer.
Syntax
variable = Timer(TimNo, Units, TimOpt)
A.10 Voice-Modem Instructions
Note Refer to Campbell Scientific voice-modem manuals available at
www.campbellsci.com/manuals (http://www.campbellsci.com/manuals).
DialVoice
Defines the dialing string for a COM310 voice modem.
Syntax
DialVoice(DialString)
VoiceBeg / EndVoice
Marks the beginning and ending of voice code that is executed when the CR1000
detects a ring from a voice modem.
Syntax
VoiceBeg
[voice code to be executed]
EndVoice
VoiceHangup
Hangs up the voice modem.
Syntax
VoiceHangup
VoiceKey
Recognizes the return of characters 1 to 9, *, or #. Often used to add a delay,
which provides time for the message to be spoken, in a VoiceBegin/EndVoice
sequence.
Syntax
VoiceKey(TimeOut*IDH_Popup_VoiceKey_Timeout)
580