Examples
*ESR? /*Queries the event register of the Standard Event register
and clears all bits in the register. The query returns 20.*/
4.3.3
*ESE
Syntax
*ESE
<
enable_value>
*ESE?
Description
Enables or queries the bits in the enable register of the Standard Event register.
Parameter
Name
Type
Range
Default
<enable_value
>
Character
Refer to
-
Remarks
•
The <enable value> is a decimal value, which corresponds to the binary-
weighted sum of the bits to be enabled in the enable register of the Standard
Event register. For definitions of the bits in the Standard Event register and the
decimal values corresponding to their binary weights, please refer to
of the bits in the standard event register and the decimal values corresponding
.
For example, to enable bit2 (query error) and bit4 (execution error) in the enable
register of the Standard Event register, set <enable value> to 20 (according to
2
2
+2
4
=20).
•
Enable the bits in the enable register of the Standard Event register and the
system will report the state of the corresponding bit to the Status Byte register.
•
When <enable value> is set to 0, executing this command will clear the enable
register of the Standard Event register.
•
(*PSC 1) to clear the enable register of the Standard
Event register at the next power-on.
Command System
22
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
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: ......