Specifications

Chapter 2 Command System RIGOL
M300 Programming Guide 2-193
STATus:OPERation:ENABle
Syntax STATus:OPERation:ENABle <enable_value>
STATus:OPERation:ENABle?
Description
inset or query the enable register for the Operation Status Register set.
Parameters
Name Type Range Default
<enable_value>
Integer
0 to 65535
None
Explanation When the events correspond to the bits that are set to 1 in the register occurs, the bits
are then reported to the status byte register.
Bit 14 (Busy) will be set to 1 while the instrument is executing a time-consuming
command, such as the
MMEMory:IMPort:CONFig? command.
Sending the
STATus:PRESet command will set this register to 0.
The bit definitions for the operation status enable register are as shown 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 comamnd).
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 that corresponds to the binary-weighted sum of all the bits in
the register. For example, if bit 1 (2 in decimal) and bit 4 (16 in decimal) are enabled, the
query will return 18 (#b100010010).
Example STAT:OPER:ENAB 18
STAT:OPER:ENAB?
The query returns 18.
Related
commands
STATus:OPERation:CONDition?
STATus:OPERation[:EVENt]?
STATus:PRESet