Chapter 2 Command System      RIGOL 
DL3000 Programming Guide  2-3 
*ESE 
Syntax  *ESE <enable value> 
Description  Enables the bit in the enable register part of the standard event status register. 
Queries the enabled bit in the enable register part of the standard event status register. 
Parameter 
Remarks    The parameter <enable value> is a decimal value. It corresponds to the 
binary-weighted sum of the bit enabled in the enable register part of the standard 
event status register. For the definitions for the bits in the standard event status 
register and the decimal value that corresponds to the binary-weighted value, refer 
to Table 1-2. For example, to enable Bit 2 (query error) and Bit 4 (execution error) in 
the enable register part of the standard event status register, set the parameter 
<enable value> to 20 (based on the formula: 2
2
 + 2
4
 = 20). 
  After the bit in the enable register part of the standard event status register is 
enabled, the system will report the status of the bit to the status byte register. 
  W
hen the parameter <enable value> is set to 0, you can run the command to clear 
the enable register part of the standard event status register. 
  You can also send the *PSC command (*PSC 1) to clear the enable register part of 
the standard event status register once the instrument is turned on next time. 
Return 
Returns a decimal value. It corresponds to the binary-weighted sum of the bit enabled in 
the enable register part of the standard event status register. For example, 20. 
Example  *ESE 20    /*Enables Bit 2 (query error) and Bit 4 (execution error) in the enable register 
part of the standard event status register*/ 
*ESE?    /*Queries the bit enabled in the enable register part of the current standard 
event status register, returns 20*/ 
Related 
*PSC