CONFigure:DIGital:POLarity

34980A

CONFigure:DIGital:POLarity

Syntax

CONFigure:DIGital:POLarity <polarity>, (@<ch_list>)

CONFigure:DIGital:POLarity? (@<ch_list>)

Description

This command sets the logic polarity for input or output operations on the specified digital channels on the 34950A Digital I/O Module. You can specify the polarity as "normal" (active high, default) or "inverted" (active low). You can send this command at any time, and the action takes effect immediately.

Used With:

  • 34950A Digital I/O Module (digital input/output channels only)

Parameters

Name

Type

Range of Values

Default Value

<polarity>

Discrete

{NORMal|INVerted}

NORMal (active high)

<ch_list>

 

Numeric

 

One or more digital input or output channels in the form (@sccc).

34950A: s101 through s104, s201 through s204

This is a required parameter

 

Remarks

  • The selected polarity applies to the specified channel, independent of the current channel width (see CONFigure:DIGital:WIDTh command.

  • The selected polarity is stored in volatile memory and will be set to "NORM" when power is turned off or after a Factory Reset (*RST command).

Return Format

The query command returns "NORM" or "INV" for the specified channels. Multiple responses are separated by commas.

Examples

The following command selects an inverted polarity (active low) for channels 103 and 103 on the 34950A in slot 3.   

CONF:DIG:POL INV,(@3101,3103)

The following query returns the polarity of channels 101 and 103 on the 34950A in slot 3.

CONF:DIG:POL? (@3101,3103)

Typical Response:  INV,INV

See Also

CONFigure:DIGital

CONFigure:DIGital:DIRection

CONFigure:DIGital:WIDTh

CONFigure?