Instruction manual
Chapter 4 Command Reference
Common Commands
Programming Guide 4-43
4
Common Commands
The IEEE 488.2 Common Commands are general-purpose commands that
are common to all instruments (as defined in IEEE 488.2). These commands
are generally not related to measurement configuration. They are used for
functions like resetting the instrument, identification, or synchronization.
*CLS (Clear Status Command)
COMMAND *CLS
Clears all event registers summarized in the status byte (Standard Event
Status Register, Operation Event Status Register, and Questionable Data
Event Status Register) and clears the Error Queue.
COMMENTS • The *CLS command does not clear data memories or any other settings.
• *CLS places the instrument in “Operation Complete Idle State” and
“Operation Complete Query Idle State” (IEEE 488.2). This results in
the disabling of any prior *OPC command.
• If *CLS immediately follows a program message terminator, the
output queue and the MAV bit are cleared, since any new program
message after a program-message terminator clears the output queue.
• This command clears any displayed error message from the front
panel.
• If the front panel is displaying any menu when *CLS is received, the
menu is abandoned (equivalent to pressing the Clear key).
RELATED
FRONT-PANEL
KEYS
Clear