Programmer’s Guide 5-21
Using Status Registers
The Analyzer's Status Register Sets
Operation Complete
(bit 0) is set to one when the following two events occur (in
the order listed):
1. The *OPC command is sent to the analyzer.
2. The analyzer completes all pending overlapped
commands.
Request Control
(bit 1) is set to 1 when both of the following conditions are
true:
• The analyzer is configured as a talker/listener for
GPIB operation.
• The analyzer is instructed to do something (such as
plotting or printing) that requires it to take control
of the bus.
Query Error
(bit 2) is set when the command parser detects a query
error. A query error indicates that one or both of the
following actions occurred:
• an attempt to read data from the Output Queue
when no data was present.
• that data in the Output Queue was lost. An example
of this would be queue overflow.
Device Dependent Error
(bit 3) is set to 1 when the command parser detects a
device-dependent error. A device-dependent error is any
analyzer operation that did not execute properly due to
some internal condition such as overrange. This bit
indicates that the error was not a command, query, or an
execution error.