register. For the definitions of the bits in the Status Byte register and their
corresponding decimal values, please refer to
For example, to enable the bit3 (QUES) and bit4 (MAV) in the Status Byte enable
register, set <enable_value> to 24 (2
3
+2
4
).
•
After the bits are enabled, the system sends service request via the bit6 (service
request bit) in the Status Byte register.
•
When <enable_value> is set to 0, executing this command will clear the enable
register of the Status Byte register. You can also send
(*PSC 1) to clear the
enable register of the Status Byte register at the next power-on.
Return Format
The query returns a decimal value, which corresponds to the binary-weighted sum of
the bits to be enabled in the enable register of the Status Byte register. For example,
the query might 24.
Examples
*SRE 24 /*Enables the bit3 (QUES) and bit4 (MAV) in the enable
register of the Status Byte register and enables the service
request.*/
*SRE? /*Queries the enabled bits in the enable register of the
Status Byte register. The query r24.*/
4.3.12
*STB?
Syntax
*STB?
Description
Queries the SUMMARY register of the Status Byte register.
Parameter
None.
Remarks
Executes this command and the query returns a decimal value (corresponding to the
binary-weighted sum of all bits set in the register). This command does not clear the
register. For definitions of the bits in the Status Byte register and the decimal values
corresponding to their binary weights, please refer to
Definitions of the bits in the
Status Byte register and the decimal values corresponding to their binary weights
example, if questionable state currently occurs in the instrument and the service
request sent is interrupted, the bit3 (QUES) and bit6 (RQS) in the SUMMARY register
of the Status Byte register are set and the query returns 72 (2
3
+2
6
).
Command System
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
29
Summary of Contents for DP900 Series
Page 1: ......
Page 133: ...d Exit Programming Examples Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved 125 ...
Page 141: ......