Ieee488.2 common commands, Ieee488.2 common commands -2, Cls -2 – RIGOL DSG3000 Series User Manual
Page 22: Ese -2

RIGOL
2-2
DSG3000 Programming Guide
IEEE488.2 Common Commands
The IEEE488.2 common commands are used to query the basic information about the instrument or
execute common operations. These commands usually begin with "*", contain a 3-character keyword and
relate to the status register.
Command List
[1]
:
*CLS
*ESE
*ESR?
*IDN?
*OPT?
*PSC
*RST
*SRE
*STB?
*TRG
*WAI
*CLS
Syntax
*CLS
Description
Clear all the event registers and the error queue.
*ESE
Syntax
*ESE
*ESE?
Description
Set the enable register for the standard event status register.
Query the enable register for the standard event status register.
Parameter
Name
Type
Range
Default
Integer
0 to 255
0
Explanation
The bit 1 and bit 6 of the standard event status register are not used and are always
treated as 0, therefore, the range of
to the binary numbers ranging from 00000000 (0 in decimal) to 11111111 (255 in
decimal) and of which the bit 1 and bit 6 are 0.
Return Format
The query returns an integer which equals the sum of the weights of all the bits that
have already been set in the register.
Example
*ESE 16 /*Enable the bit 4 (16 in decimal) of the standard event status register*/
*ESE? /*The query returns 16*/
Note
[1]
: In the "Command List" in this manual, the parameters in the setting commands and the query commands are
not included and you can refer to the complete introductions of the commands in the text according to the keyword.