IEEE-488 Common Commands
IEEE-488 Common commands generally control overall instrument functions, such as reset, status,
and synchronization. All common commands consist of a three-letter mnemonic preceded by an
asterisk: *RST *IDN? *SRE 8.
*CLS
Clear status command. Clears the event registers in all register groups. Also clears the status byte
and error queue. If *CLS immediately follows a program message terminator (<NL>), then the output
queue and the MAV bit are also cleared. Refer to Status Overview for more information.
Parameter Typical Return
(none) (none)
Clear event registers, status byte, and error queue: *CLS
*ESE <value>
*ESE?
Event status enable command and query. Sets the value in the enable register for the Standard Event
Status group. Each set bit of the register enables a corresponding event. All enabled events are
logically OR-ed into the ESB bit of the status byte. The query reads the enable register. Refer to
Status Overview for more information.
Parameter Typical Return
Decimal sum of the bits in the register, default 0. For example, to enable bit 2 (value 4), bit 3 (value 8), and bit 7
(value 128), use decimal sum 140 (4 + 8 + 128). Default 0.
<bit value>
Enable bits 3 and 4 in the enable register: *ESE 24
The value returned is the binary-weighted sum of all bits set in the register.
Any or all conditions can be reported to the ESB bit through the enable register. To set the enable
register mask, write a decimal value to the register using *ESE.
A *CLS does not clear the enable register, but does clear the event register.
This parameter is not affected by *RST or *RCL.
Keysight AC6800B Series Operating and Service Guide 133
3îîSCPI Programming Reference