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.
*ESE<value> Event status enable command and query.
*ESR? Event status event query.
*IDN? Identification Query.
*LRN? Returns a sequence of SCPI commands.
*OPC Sets the OPC (operation complete) bit in the standard event register.
*OPC? Returns a 1 to the output buffer when all pending operations complete.
*OPT? Returns a string identifying any installed options.
*RCL<value> Recalls a saved instrument state.
*RST Resets the instrument to pre-defined values that are either typical or safe.
*SAV<value> Saves the instrument state to one of ten non-volatile memory locations.
*SRE <value> Service request enable command and query.
*STB? Status byte query.
*TRG Trigger command.
*TST? Self-test query.
*WAI Pauses additional command processing until all pending operations are complete.
*CLS
Clear status command. 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 Tutorial 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 ORed into the ESB bit of the status byte. The query reads the enable register. Refer to Status
Tutorial for more information.
6 SCPI Programming Reference
233 Keysight N6900/N7900 Series Operating and Service Guide