Specifications
Chapter 2 Command System RIGOL
M300 Programming Guide 2-61
*SRE
Syntax *SRE <enable_val>
*SRE?
Description
Set the enable register of the Status Byte Register set.
Parameters
Name
Type
Range
Default
<enable_val>
Numeric
0 to 255
0
Explanation The definition of each bit in the Status Byte Register is as shown in the table below.
Wherein, bit0 is not used and is always regarded as 0. Therefore, the range of
<enable_val> are the decimal numbers corresponding to the binary numbers ranging
from 00000000 (0 in decimal) to 11111111 (255 in decimal) and of which bit0 is 0.
Bit
Weight
Name
Explanation
7
128
Standard
Operation
Summary
One or more bits are set in the Operation Status
Register (bits must be enabled, refer to the
STATus:OPERation:ENABle command).
6
64
Master
Summary
One or more bits are set in the Status Byte
Register.
5
32
Standard Event
Status Summary
One or more bits are set in the Standard Event
Status Register (bits must be enabled, refer to
the *ESE command).
4
16
Message
Available
Data is available in the output buffer of the
instrument.
3
8
Questionable
Status Summary
One or more bits are set in the Questionable
Status Register (bits must be enabled, refer to
the STATus:QUEStionable:ENABle command).
2
4
Error Queue
One or more errors have been stored in the
Error Queue.
1
2
Alarm Summary
One or more bits are set in the Alarm Register
(the bits must be enabled, refer to the
STATus:ALARm:ENABle command ).
0
Not
Used
Not Used
Always be 0.
Return
Format
The query returns an integer that corresponds to the binary-weighted sum of all the bits set
in the register. For example, if bit 4 (decimal value = 16) and bit 7 (decimal value = 128) are
enabled, the query will return 144.
Example *SRE 144
*SRE?
The query returns 144.
Related
command
*STB?