STATus:OPERation[:EVENt]?
STATus:OPERation[:EVENt]?
Syntax
STATus:OPERation[:EVENt]?
Description
This command queries the condition register for the Standard Operation Register group. This is a read-destructive register and the bits are cleared when you read the register.
![]()
For more information on the Status System for the instrument, see Status System Introduction.
Used With:
- 34901A 20 Channel Multiplexer (2/4-wire) Module
- 34902A 16 Channel Multiplexer (2/4-wire) Module
- 34907A Multifunction Module (digital input and totalizer channels only)
- 34908A 40 Channel Single-Ended Multiplexer Module
Remarks
- The following table lists the bit definitions for the Standard Operation Register.
Bit # Bit Name Decimal Value Definition 0 Calibrating 1 The instrument is calibrating. 1 Self Test 2 The instrument is doing a self-test. 2 Not Used 4 (Always returns 0) 3 Not Used 8 (Always returns 0) 4 Scanning 16 The instrument is scanning. 5 WFT 32 The instrument is waiting for a trigger. 6 Not Used 64 (Always returns 0) 7 USB MSD detected 128 A USB mass storage device (USB drive) has been detected. 8 Config Changed 256 The instrument configuration has changed. 9 Mem Threshold 512 The number of readings in memory has exceeded the memory threshold setting (see DATA:POINts:EVENt:THReshold). 10 Instrument Locked 1024 The instrument is locked. 11 Settings Changed 2048 The instrument's settings have changed. 12 Not Used 4096 (Always returns 0) 13 Global Error 8192 An error is in the global error queue. 14 Busy 16384 The instrument is busy. 15 Not Used 32768 (Always returns 0)
- Bit 14, the Busy bit, will be set while the instrument is performing long commands, such as MMEMory:IMPort:CONFig?.
- This register is cleared when it is read, or when you issue a *CLS command.
Return Format
The query reads the operation event register and returns a decimal value which corresponds to the binary-weighted sum of all bits set in the register (see table above). For example, if bit 1 (decimal value = 2) and bit 9 (decimal value = 512) are set, this command will return "+514".
Examples
The following command reads the questionable event register (bits 1 and 9 are set).
STAT:OPER?
Typical Response: +514