[SENSe:]DIGital:INTerrupt[:ENABle]

34980A

[SENSe:]DIGital:INTerrupt[:ENABle]

Syntax

[SENSe:]DIGital:INTerrupt[:ENABle] <mode>, (@<ch_list>)

[SENSe:]DIGital:INTerrupt[:ENABle]? (@<ch_list>)

Description

This command disables or enables the hardware INTR (interrupt) line as an output on the 34950A Digital I/O Module. The INTR line is an output when the specified channels are configured for buffered memory input operations (see [SENSe:]DIGital:MEMory:ENABle command). 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 operations are enabled.

Used With:

  • 34950A Digital I/O Module

Parameters

Name

Type

Range of Values

Default Value

<mode>

Boolean

{OFF|0|ON|1}

OFF (disabled)

<ch_list>

Numeric

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

This is a required parameter

Remarks

  • During buffered memory input operations, the INTR line is an output and will be asserted when a pattern match is found or when memory is full (see [SENSe:]DIGital:INTerrupt:MODE command).

  • The INTR lines and handshake lines (H0, H1, and H2) on each bank share their input threshold and output level setting. See the [SENSe:]DIGital:HANDshake:THReshold command to set the input threshold voltage (the INTR line is an input when the specified channels are configured for buffered memory output operations). See the SOURce:DIGital:HANDshake:LEVel command to set the output voltage level (the INTR line is an output when the specified channels are configured for buffered memory input operations).

  • The instrument disables interrupts after a Factory Reset (*RST command) and sets the INTR line to a high-impedance state. An Instrument Preset (SYSTem:PRESet command) or Card Reset (SYSTem:CPON command) does not change the status of the interrupt lines.

Return Format

The query command returns "0" (OFF) or "1" (ON) for each channel specified. Multiple responses are separated by commas.

Examples

The following program segment enables outputs from the INTR line on channels 101 and 201 in slot 3.

CONF:DIG:WIDTH WORD,(@3101,3201)  !Width = 16 bits
DIG:MEM:ENAB ON,(@3101,3201)  !Enable buffered read
DIG:INT:ENAB ON,(@3101,3201)  
!Enable interrupt output

The following query returns the interrupt settings on channels 101 and 201 in slot 3.

DIG:INT:ENAB? (@3101,3201)

Typical Response:  1,1

See Also

CONFigure:DIGital:INTerrupt:POLarity

CONFigure:DIGital:WIDTh

[SENSe:]DIGital:HANDshake:THReshold

[SENSe:]DIGital:INTerrupt:MODE

[SENSe:]DIGital:INTerrupt:STATus?

[SENSe:]DIGital:MEMory:ENABle

SOURce:DIGital:HANDshake:LEVel