258
S:\agilent\8920\8920b\PRGGUIDE\BOOK\CHAPTERS\advoper.fb
Chapter 5, Advanced Operations
Status Reporting
The following sections show the syntax and give programming examples (using the Instrument BASIC programming language) for the Common Commands used to access the Standard Event Status Register Group’s registers.
Reading the Event Register
Syntax
*ESR?
24 Query
Error 1 = An error has occurred while trying to read the Test Set’s Output
Queue. The following events cause a query error:
a. An attempt is being made to read data from the Output Queue when
no data is present or pending.
b. Data in the Output Queue has been lost. An example of this would
be Output Queue overflow.
12 Request
Control 1 = The Test Set is requesting permission to become the Active
Controller on the GPIB bus.
0 1 Operation
Complete 1 = The Test Set has completed all selected pending operations and is
ready to accept new commands. This bit is only generated in response
to the *OPC IEEE 488.2 Common Command.
Table 19 Standard Event Status Register Bit A ssignments (Continued)
Bit
Number Binary
Weighti ng Condition Comment