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. Refer to Status Tutorial for more information.
Instrument status is also programmed using the IEEE 488.2 Common commands: *CLS, *ESE, *ESR?,
*OPC, *OPC?, *SRE, *STB? and *WAI discussed under IEEE 488.2 Common Commands.
STATus:OPERation[:EVENt]? (@<chanlist>)
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) <bitvalue>
Read the operation status event register: STAT:OPER? (@1)
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? (@<chanlist>)
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) <bitvalue>
Read the operation status condition register: STAT:OPER:COND? (@1)
l The condition register bits reflect the current condition. If a condition goes away, the cor-
responding bit is cleared.
l The value returned is the binary-weighted sum of all bits set in the register.
STATus:OPERation:ENABle <value>, (@<chanlist>)
STATus:OPERation:ENABle? (@<chanlist>)
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.
5 SCPI Programming Reference
286 Keysight N6700C Operating and Service Guide