Instructions

Table Of Contents
RIGOL Chapter 2 Command System
2-82 RSA5000 Programming Guide
*CLS
Syntax
*CLS
Description
Clears all the event registers and status byte registers.
*ESE
Syntax
*ESE <value>
*ESE?
Description
Sets the enable register for the standard event status register.
Queries the enable register for the standard event status register.
Parameter
Name
Type
Range
Default
<value>
Integer
Refer to "Remarks"
0
Remarks
Bit 2, bit 3, bit 4, and bit 7 are reserved; you can set their values but they will not affect the system. Bit 1
and bit 6 are not used and are always treated as 0; therefore, the range of <value> are the decimal
numbers corresponding to the binary numbers ranging from 00000000 (0 in decimal) to 11111111 (255 in
decimal) and of which bit 1 and bit 6 are 0.
Return Format
The query returns an integer. The integer equals to the binary-weighted sum of all the bits set in the
register. For example, the query returns 144 if bit 4 (16 in decimal) and bit 7 (128 in decimal) are enabled.
Example
The following command sets the enable register for the standard event status register to 16.
*ESE 16
The following query returns 16.
*ESE?