Set Analog Watchdog Data

FieldPoint Optomux Programming

Set Analog Watchdog Data

[cmdchars] = m

Recommended Extended Commands

National Instruments recommends that you use the Set 16-Bit Watchdog Data (!R) extended command instead of the Set Analog Watchdog Data command.

Description

The Set Analog Watchdog Data command sets the levels that channels of the addressed FieldPoint module will output if the watchdog timer expires. This command can be sent only to analog modules.

Syntax

m[positions][data]

[positions]Four ASCII-hex characters specify the channels to be configured with an output value. A "1" in any bit means that the command sets an output value for the corresponding channel. A zero in any bit means that the corresponding channel is not targeted.

If this command targets an input channel, the FieldPoint module responds with an error.
[data]Three ASCII-hex characters specify a 12-bit value for each targeted channel. The range of values is from 0x000 (0 decimal) to 0xFFF (4095 decimal). 0x000 represents the zero output level (or the full-scale negative value for bipolar ranges), and 0xFFF represents the full-scale output level.

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

>33m0081A20555[checksum][cr]

This command instructs the FieldPoint module at address 51 (0x33) to output the value 0xA20 (2592 decimal) on channel 7 and the value 0x555 (1365 decimal) on channel 0 if a watchdog timeout occurs.