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
).
Return Format
The query returns a decimal value, which corresponds to the binary-weighted sum of
all bits set in the SUMMARY register of the Status Byte register. For example, the
query might 72.
Examples
*STB? /*Queries the SUMMARY register of the Status Byte register.
The query r72.*/
4.3.13
*TRG
Syntax
*TRG
Description
Generates an event trigger.
Command System
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
29
Summary of Contents for DP2000 Series
Page 1: ......
Page 137: ...d Exit Programming Examples Copyright RIGOL TECHNOLOGIES CO LTD All rights reserved 129...
Page 145: ......