GDS-806/810/820/840 Programming Manual 
 
19
4. Details of Command Reference 
Each command in this chapter will give a brief description. The examples of each 
command will be provided and what query form might return. 
*CLS (no query form) 
Clears all event status data register. This includes the Output Queue, Operation 
Event Status Register, Questionable Event Status Register, and Standard Event 
Status Register. 
Syntax 
*CLS 
Examples 
*CLS clears all event registers. 
*ESE 
Sets or returns the bits in the Event Status Enable Register (ESER). The ESER 
enables the Standard Event Status Register (SESR) to be summarized on bit 5 
(ESB) of the Status Byte Register (SBR).     
Syntax 
*ESE<NR1> 
*ESE? 
Arguments 
<NR1> is a number from 0 to 255. The binary bits of the ESER are set according 
to this value. 
Returns 
<NR1> is a number from 0 to 255 that indicates the decimal value of the binary 
bits of the ESER.