Deactivate Outputs

FieldPoint Optomux Programming

Deactivate Outputs

[cmdchars] = L

Recommended Extended Commands

National Instruments recommends that you use the Write Discrete (!L) extended command or the Write Discrete with Status (!M) extended command instead of the Deactivate Outputs command.

Description

The Deactivate Outputs command drives outputs OFF on targeted outputs of the addressed FieldPoint module.

Syntax

L[positions]

[positions]Zero to four ASCII-hex characters specify the channels. A "1" in any bit turns the corresponding output OFF. A zero in any bit means that the corresponding output is unaffected.

If [positions] contains one to three characters, the channels corresponding to missing bits are unaffected.

If [positions] is empty, the command supplies "FFFF" for the value.

This command does not affect input channels.

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

>33L6[checksum][cr]

This command turns output channels 1 and 2 OFF on the FieldPoint module at address 51 (0x33).