Specifications
STATus Commands
STATus Commands
Status commands let you determine the operating condition of the instrument at any time. The instrument has three
groups of status registers; Operation, Questionable, and Standard Event. The Operation and Questionable status
groups each consist of the Condition, Enable, and Event registers as well as NTR and PTR filters.
Instrument status is also programmed using the Common commands: *CLS, *ESE, *ESR?, *OPC, *OPC?, *SRE,
*STB? and *WAI discussed at the end of this topic. Common commands control additional status functions such as the
Service Request Enable and the Status Byte registers. Refer to Status Tutorial for more information.
STATus:OPERation[:EVENt]?
Queries the event register for the Operation Status group. This is a read-only register, which stores (latches) all events
that are passed by the Operation NTR and PTR filter. Reading the Operation Status Event register clears it.
Parameter Typical Return
(none) <bit value>
Read the operation status event register: STAT:OPER?
l *RST has no effect on this register.
l The value returned is the binary-weighted sum of all bits set in the register.
STATus:OPERation:CONDition?
Queries the condition register for the Operation Status group. This is a read-only register, which holds the live
(unlatched) operational status of the instrument. Reading the Operation Status Condition register does not clear it.
Parameter Typical Return
(none) <bit value>
Read the operation status condition register: STAT:OPER:COND?
l The condition register bits reflect the current condition. If a condition goes away, the corresponding bit is cleared.
l The value returned is the binary-weighted sum of all bits set in the register.
STATus:OPERation:ENABle <value>
STATus:OPERation:ENABle?
Sets and queries bits in the enable register for the Operation Status group. The enable register is a mask for enabling
specific bits from the Operation Event register to set the OPER (operation summary) bit of the Status Byte register.
STATus:PRESet clears all bits in the enable register.
Parameter Typical Return
A decimal value that corresponds to the binary-
weighted sum of the bits in the register.
<bit value>
Enable bit 3 and 4 in the enable register: STAT:OPER:ENAB 24
Agilent N8900 Series Operating and Service Guide 87