Enhanced Discrete Watchdog

FieldPoint Optomux Programming

Enhanced Discrete Watchdog

[cmdchars] = m

Recommended Extended Commands

National Instruments recommends that you use either the Set Watchdog Delay (!Q), the Set Discrete Watchdog Data (!R), or the Set Watchdog Data Status (!T) extended command, instead of the Enhanced Discrete Watchdog command.

Description

The Enhanced Discrete Watchdog command sets the timeout value for the FieldPoint bank watchdog and determines the ON/OFF status for each channel in case of a timeout. This command works only for discrete FieldPoint modules.

Note  All modules in a FieldPoint bank share a common timeout value. The timeout value for the bank is always the most recent timeout value specified for a module in the bank. For more flexibility, use the recommended extended commands.

Syntax

m[positions][wdgTmo]

[positions]Four ASCII-hex characters specify the ON/OFF status of all channels in case of a watchdog timeout. A "1" in any bit means that the corresponding channel will will be turned ON if the watchdog timer expires. A zero in any bit means that the corresponding channel will will be turned OFF if the watchdog timer expires.

This command has no effect on input channels.
[wdgTmo]Zero to four ASCII-hex characters set the timeout value. The timeout value in ms is equal to 10 times the value of [wdgTmo].

If [wdgTmo] ≥ 20, the watchdog timeout value for the bank is 10 X [wdgTmo] ms. If [wdgTmo] = 0, the targeted module is unaffected by watchdog timeouts, and the timeout value for the bank is unaffected. If 0 < [wdgTmo] < 20, the command returns an error.

If [wdgTmo] is unspecified, the default value is zero and the targeted module is unaffected by watchdog timeouts.

Success Response

A

Error Responses

E_INVALID_CMDUndefined command.
E_INV_LIMS_GOTSpecified limits invalid for the command.

Refer to FieldPoint Responses for other possible error responses, error numbers, and error descriptions.

Example

>33m0A841F4[checksum][cr]

This command sets the watchdog timeout value for the bank to 5 s, configures channels 2, 7, 9, and 11 to turn ON in case of a timeout, and configures all other channels to turn OFF in case of a timeout.