beautypg.com

4 voicenumber, 5 dialvoice, 6 voicehangup – Campbell Scientific COM310 Voice Communications Modem User Manual

Page 22: 7 voicesetup

background image

COM310 Voice Communications Modem

announced menu; however, the user can respond by pressing a key in the
middle of an announcement.

If doing concurrent communications (via multiple communication peripherals)
with your datalogger it is recommended that the VoiceKey timeout be
extended to over 5 seconds.

VoiceSetup’s UseTimeout parameter determines whether or not the datalogger
will hang up the COM310 after the timeout in the VoiceKey instruction
expires.

5.2.1.4 VoiceNumber

The VoiceNumber instruction returns the accumulated touch tone digits that
are received prior to the receipt of a # or * key. The example voice
callback/callin program uses no VoiceNumber instructions; however, this
instruction may be useful for phone transfer of long numbers such as for
passwords, etc.

5.2.1.5 DialVoice

The DialVoice instruction is used to define the dialing string for a COM310
voice modem, usually for voice callback. If the DialVoice instruction is set
equal to a variable, a True will be returned if the communication attempt was
successful or a False will be returned if it failed. VoiceHangup is used after a
communication attempt to hang up the voice modem. The DialString is the
telephone number and any other codes used to dial the modem. The DialString
can be a variable. A comma in the DialString inserts a 2 second pause.

5.2.1.6 VoiceHangup

The VoiceHangup instruction is used most often with the DialVoice instruction
to hang up the modem after communication. The VoiceHangup instruction is
not needed if the voice commands are enclosed within the VoiceBeg /
EndVoice instructions.

5.2.1.7 VoiceSetup

The VoiceSetup instruction controls the hang up of the COM310 voice
modem. It also allows you to specify certain handset key functions.

The HangUpKey parameter specifies the key that, when pressed, will
disconnect the COM310.

The ExitSubKey parameter specifies the key that will exit a subroutine if the
datalogger is running one. The ContinueKey parameter specifies the key that
will begin announcing the next VoiceSpeak phrase.

The SecsOnLine parameter specifies the maximum number of seconds that the
COM310 will be off-hook before it is hung up by the datalogger.

The UseTimeout parameter determines whether or not the datalogger will hang
up the COM310 after the timeout in the VoiceKey instruction expires. If this
parameter is set to True, the timeout will be used. If False, the timeout will not
be used.

16