Agilent Technologies E1300B User Manual page 150

75000 series b mainframes
Hide thumbs Also See for E1300B:
Table of Contents

Advertisement

DIAGnostic:INTerrupt:RESPonse?
:INTerrupt:RESPonse?
Comments
Example
7-22 System Instrument Command Reference
DIAGnostic:INTerrupt:RESPonse? Returns the interrupt acknowledge
response (STATUS/ID word) from the highest priority VXI interrupt line.
The value returned is the response from the interrupt acknowledge cycle
(STATUS/ID word) of a device interrupting on one of the interrupt lines
set up with the DIAG:INT:SET[n] command.
Bits 0 through 7 of the STATUS/ID word are the interrupting device's
logical address. Bits 8 through 15 are Cause/Status bits. Bits 16 through
31 (D32 Extension) are not read by the System Instrument.
If only bits 0 through 7 are used by the device (bits 8 - 15 are FF), the
logical address can be determined by adding 256 to the value returned by
DIAG:INT:RESP?. If bits 0 - 15 are used, the logical address address is
determined by adding 65536 to the value returned (if the number
returned is negative.
Only the interrupt lines previously configured with the
DIAG:INT:SET[n] commands generate responses for this command.
If there are interrupts on multiple lines when this command is received,
or when the acknowledgement was enabled with DIAG:INT:ACT, the
response data returned will be from the line with the highest priority set
using the DIAG:INT:PRI [n] command.
If interrupt acknowledge has not been enabled with DIAG:INT:ACT,
then it will be enabled by DIAG:INT:RESP?. System Instrument
execution is halted until the interrupt acknowledgement response is
received.
DIAG:INT:WAIT? can also be used to wait for the interrupt response.
Related Commands: DIAG:INT:ACT, DIAG:INT:SETup[n],
DIAG:INT:PRIority[n]
Setup and wait for VXI interrupt response on line 2.
DIAG:INT:PRI2 5
DIAG:INT:SETUP2 ON
.
.
.
DIAG:INT:RESP?
set priority to 5 on line 2
handle interrupt on line 2
code which will
initiate an action
resulting in an interrupt
read the acknowledge response

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1301b75000 series b

Table of Contents