User manual

Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-75
IEEE488.2 Common Commands
The IEEE488.2 common commands are used to query the basic information of the instrument or executing
basic operations. These commands usually start with "*", and the keywords in a command contain 3
characters.
Command List:
*CLS
*ESE
*ESR?
*IDN?
*OPC
*SAV
*RCL
*RST
*SRE
*STB?
*TST?
*WAI
*CLS
Syntax
Description
*ESE
Syntax
*ESE <maskargument>
*ESE?
Description
Sets or queries the enable register bit of the standard event register set.
Parameter
Name
Type
Range
Default
<maskargument>
Integer
0 to 255
0
Return
Format
The query returns an integer. The integer equals to the binary-weighted sum of all the
bits set in the register.
Example
*ESE 16 /*Enable the bit 4 (16 in decimal) in the register.*/
*ESE? /*The query returns the enable value of the register 16.*/
*ESR?
Syntax
*ESR?
Description
Queries and clears the event register of the standard event status register.
Remarks
Bit 1 and Bit 6 in the standard event status register are not used and are always treated