VoiceSetup

The VoiceSetup instruction is used to control the hang up of the COM310/COM320 voice modem.

Syntax

VoiceSetup ( HangUpKey, ExitSubKey, ContinueKey, SecOnLine, UseTimeout, CallOut )

Parameters

HangUpKey

The key that, when pressed, will disconnect the COM310/COM320.

Type: Variable

ExitSubKey

The key that, when pressed, will exit a subroutine if the datalogger is running one.

Type: Variable

ContinueKey

The key that, when pressed, will begin announcing the next VoiceSpeak phrase.

Type: Variable

SecOnLine

The maximum number of seconds that the COM310 will be on a call before it is hung up by the datalogger.

Type: Variable

UseTimeOut

Boolean variable that 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 this parameter is set to False, the timeout will not be used.

Type: Variable

CallOut

Boolean variable that indicates the mode that the COM310 is in. If the value returned in this parameter is True, the datalogger has called out. If the value is False, the datalogger has received an incoming call.

Type: Variable

If the same character is used for HangUpKey and ExitSubKey, the datalogger will exit a subroutine if it is in one, otherwise, it will hang up the COM310/COM320. If the ContinueKey is pressed, the COM310/COM320 will skip the current VoiceSpeak string and move to the next VoiceSpeak string. If any other key is pressed, the COM310/COM320 will skip to the next group of VoiceSpeak instructions.