Chapter 4 Command Reference

Introduction

*CLS

(Clear Status 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. The *CLS command will not clear data memories or any other settings.

It also 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 because “any” new program message after a program message terminator clears the output queue.

This command will clear any displayed error message from the front panel.

Programming Guide

4-123