![](http://pdfasset.owneriq.net/2/f9/2f9a1b18-4686-451d-b1bd-e142896b65f6/2f9a1b18-4686-451d-b1bd-e142896b65f6-bgb0.png)
Chapter 5 Command Reference
Serial Interface Communication
5-108 Operating and Programming Guide
Recovering the Last Query Response _____________________
This query returns the last response item issued through the Receiver’s serial
interface for use in an error recovery process.
In the case of a serial interface data transmission error, this query can be used
to get the last response item which may otherwise be unavailable because of
the side effects of the original command. For example, the
:
SYST:ERRor? query
removes the oldest entry from the error queue, so to see the entry again
following a data transmission error, use
:
DIAG:QUER:RESP? instead of
repeating the original command.
Response
The format depends on the last issued query.
:DIAGnostic:QUERy:RESPonse?
RESPONSE FORMAT
Returns the last response item issued through the Receiver's
serial interface for use in an error recovery process.
Format depends on the last
issued query.