Specifications
RIGOL Chapter 2 Command System
2-194 M300 Programming Guide
STATus:OPERation[:EVENt]?
Syntax
STATus:OPERation[:EVENt]?
Description
Read and clear the condition register for the Operation Status Register set.
Explanation As the event register is read-only, once a bit is set to 1, it remains set until cleared by
the query command (such as the STAT:ALAR:EVENt? command) or the
*CLS
command.
The bit definitions for the operation status event register are as hown in the table
below.
Bit
Bit Name
Weight
Definition
0
Calibrating
1
The instrument is calibrating.
1
Self Test
2
The instrument is performing a self-test.
2
Not Used
4
Always be 0.
3
Not Used
8
Always be 0.
4
Scanning
16
The instrument is scanning.
5
WFT
32
The instrument is waiting for a trigger.
6
Not Used
64
Always be 0.
7
USB MSD
detected
128
A USB storage device (external memory) has been
detected.
8
Config
Changed
256
The scan lsit configuration has changed.
9
Mem
Threshold
512
The number of readings in the memory has
exceeded the memory threshold setting (refer to
the DATA:POINts:EVENt:THReshold command).
10
Instrument
Locked
1024
The instrument is locked.
11
Settings
Changed
2048
The instrument's settings have changed.
12
Not Used
4096
Always be 0.
13
Global Error
8192
An error occurs (the error queue is not empty).
14
Busy
16384
The instrument is busy.
15
Not Used
32768
Always be 0.
Return
Format
The query returns an integer which corresponds to the binary-weighted sum of all the bits
in the register. For example, if bit 4 (2 in decimal), bit 7 (16 in decimal) and bit 8 (16 in
decimal) are set, this command will return 784 (#b1100010000).
Example STAT:OPER?
The query returns 784.
Related
commands
STATus:OPERation:CONDition?
STATus:OPERation:ENABle
*CLS