CONFigure:DIGital:INTerrupt:POLarity

34980A

CONFigure:DIGital:INTerrupt:POLarity

Syntax

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

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

Description

This command sets the logic polarity of the hardware INTR (interrupt) line on the 34950A Digital I/O Module. You can specify the polarity as "normal" (active high, default) or "inverted" (active low). The specified setting affects the polarity for both input and output modes of the INTR lines.

Since interrupts are used for transfers involving the first channel on a bank only, this command must be directed to the first channel (i.e., channel 101 or 201 only), and extends to all channels involved in the channel width (see CONFigure:DIGital:WIDTh command). You can send this command at any time, but the setting applies only if buffered memory input/output operations are enabled (see [SENSe:]DIGital:MEMory:ENABle and SOURce:DIGital:MEMory:ENABle commands).

Used With:

  • 34950A Digital I/O Module

Parameters

Name

Type

Range of Values

Default Value

<polarity>

Discrete

{NORMal|INVerted}

NORMal (active high)

<ch_list>

 

Numeric

 

The first channel on a bank in the form (@sccc).
Select from s101 or s201.

This is a required parameter

 

Remarks

  • 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 program segment selects an inverted polarity (active low) for the INTR line (Bank 1) on the module in slot 3.

CONF:DIG:WIDTH WORD,(@3101)  !Width = 16 bits
CONF:DIG:INT:POL INV,(@3101)

The following query returns the polarity of the INTR line (Bank 1) on the module in slot 3.

CONF:DIG:INT:POL? (@3101)

Typical Response:  INV

See Also

CONFigure:DIGital:WIDTh

[SENSe:]DIGital:INTerrupt[:ENABle]

[SENSe:]DIGital:INTerrupt:MODE

[SENSe:]DIGital:MEMory:ENABle

SOURce:DIGital:MEMory:ENABle