Specifications
RIGOL Chapter 2 Command System
2-62 M300 Programming Guide
*STB?
Syntax
*STB?
Description
Query the condition register of the Status Byte Register set.
Explanation This command only reads the register, but does not clear it.
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
(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 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.
Related
command
*SRE
*TRG
Syntax
*TRG
Description The instrument generates a trigger (measures a channel in the scan list and then waits for
the next trigger) each time this command is received when the instrument is in manual
trigger mode (refer to the
TRIGger:SOURce command) and is waiting for a trigger (send
the INITiate command).
Explanation
The *TRG command does not work with the READ? command.
Example TRIG:SOUR BUS
INIT
*TRG
R?
Related
command
TRIGger:SOURce