Agilent Technologies E1301B Computer Hardware User Manual


 
:INTerrupt:RESPonse? DIAGnostic:INTerrupt:RESPonse? Returns the interrupt acknowledge
response (STATUS/ID word) from the highest priority VXI interrupt line.
Comments 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]
Example Setup and wait for VXI interrupt response on line 2.
DIAG:INT:PRI2 5 set priority to 5 on line 2
DIAG:INT:SETUP2 ON handle interrupt on line 2
. code which will
. initiate an action
. resulting in an interrupt
DIAG:INT:RESP? read the acknowledge response
DIAGnostic:INTerrupt:RESPonse?
7-22 System Instrument Command Reference