10-33
IM 755601-01E
Communication
Commands
10
10.2.18 Common Command Group
The commands in the common group are defined in the IEEE 488.2-1992 and are independent of the instrument’s
functions. There are no front-panel keys that correspond to the commands in this group.
*CLS
*ESE
<Space>
<NRf>
?
*ESR
?
*IDN
?
*LRN
?
*OPC
*OPC
?
*OPT
?
*PSC
<Space>
<NRf>
?
*RST
*SRE
<Space>
<NRf>
?
*STB
?
*TRG
*TST
?
*WAI
;
*CLS (CLear Status)
Function
Clears the standard event register, extended
event register, and error queue.
Syntax
*CLS
Example
*CLS
Description • If the “
*CLS
” command is appended
immediately after the program message
terminator, the output queue is also cleared.
• For details regarding registers and queues,
see section 10.3.
*ESE (standard Event Status Enable register)
Function
Sets the standard event enable register or
queries the current setting.
Syntax
*ESE {<NRf>}
*ESE?
<NRf> = 0 to 255
Example
*ESE 251
*ESE?
→
251
Description • <NRf> is the sum of the bits expressed as a
decimal number.
• In the above example, the standard event
enable register is set to “11111011.” In other
words, bit 2 of the standard event register is
disabled so that even if a query error occurs,
bit 5 (ESB) of the status byte register is not
set to “1.”
• The default value is “
*ESE 0
” (all bits
disabled).
• An “
*ESE?
” query will not clear the standard
event enable register.
• For details regarding the standard event
enable register, see page 10-38.
10.2 Commands