9 Programming the Instrument
9.4 Status Register System & STATus Subsystem
Note that the Event register is "Clear-on-Read": when any bit is read, it is
automatically cleared.
Questionable Registers
These registers report abnormal operating conditions. The status register hierarchy
is:
–
The summary outputs from the six QUEStionable:<keyword> detail registers
are inputs to the "Questionable Register" on page 1117
–
The summary output from the "Questionable Register" on page 1117 is an input
to the Status Byte Register
–
The summary output from the is an input to the "Operation Register" on page
1110. The inputs to the "Operation Condition Query" on page 1111 Register
indicate the real time state of the instrument. The "Operation Event Query" on
page 1112 Register summary output is an input to the Status Byte Register
Note that, in E4406A only, the "Operation Enable" on page 1112 Register has an
additional function. It is ANDed with the "Operation Condition Query" on page 1111
Register to determine the instrument busy state, which is checked by "*OPC? -
Operation Complete" on page 1070 and "*WAI - Wait-to-Continue" on page 1074 . If
the ANDed result is non-zero, the instrument is considered busy.
9.4.3 Status Register SCPI Commands
Monitoring of instrument conditions is done at the highest level using the following
IEEE 488.2 common commands.
For complete command descriptions, see "IEEE 488.2 Common Commands" on
page 1067. Individual status registers can be set and queried using the commands
described in "Status Subsystem Registers and Commands" on page 1104.
*CLS
Clear Status Clears the status byte by emptying the error queue and clearing all
the event registers
*ESE
*ESE?
Event Status
Enable
Sets and queries the bits in the enable register part of the standard
event status register
*ESR?
Event Status
Register
Queries and clears the event register part of the standard event
status register
*OPC
*OPC?
Operation
Complete
Sets the standard event status register to monitor the completion of
all commands. The query stops any new commands from being
processed until the current processing is complete, then returns a
‘1’
*PSC
*PSC?
Power-on
State Clear
Sets the power-on state so that it clears the service request enable
register and the event status enable register at power on
1099 IQ Analyzer Mode User's &Programmer's Reference