Defining Capture Mode Exceptions

When configuring a device, a procedure command could time out – the response from the device exceeds a specified amount of time, generating a timeout exception – or the configured device could throw a run-time error.

Clicking the Exceptions links displays the Exception Response list that enables you to define a list of possible errors strings to look for in a command output ( Table:Advanced Settings - Exception Response List). When an error string is encountered that matches a table entry, an error is considered to have occurred in the script and a response action can be configured in the Information pane, as described in Defining Script Properties.

Table:Advanced Settings - Exception Response List

Parameter
Description
Match index
The match index defines the order in which encountered exceptions are matched against exception list entries, with higher-ranked exceptions being matched first.
Match data
This is a regular expression used to monitor the device output for exceptions thrown by the configured device. If the specified Match data string is found in the command output, a message is displayed signaling the match and an error is considered to have occurred.

Upon successfully matching a data string in the command output, the remaining match data entries are no longer compared.

Severity action
Enables you to specify if the match is to be considered an error or not.

Clicking into the No Response Exception Timeout field enables you to specify a timeout value when trying to connect to a configured device. Upon connecting, if no response is received from the device within the configured interval, an error message is displayed.

See Also

Defining Connection Settings

Defining Terminal Settings

Defining Device Prompts

Specifying a Response Templates Folder