Usage:
Command Syntax: *CLS
Example:
Programming
Common Commands
Common Commands
The following commands are required by the IEEE 488.2–1987 standard.
*CLS (Clear Status)
The *CLS (clear status) common command clears all the event registers sum-
marized in the Status Byte register. With the exception of the output queue,
all queues that are summarized in the Status Byte Register are emptied. The
error queue is also emptied. Neither the Standard Event Status Enable Regis-
ter, nor the Service Request Enable Register are affected by this command.
After the *CLS command, the instrument is left in the idle state. The com-
mand does not alter the instrument setting. *OPC/*OPC? actions are can-
celled.
HP-IB only
OUTPUT 711;"*CLS"
*ESE (Event Status Enable)
The *ESE command sets the bits in the Standard Event Status Enable Regis-
ter and enables the corresponding bits in the Standard Event Status Register.
The Standard Event Status Enable Register contains a mask value for the bits
to be enabled in the Standard Event Status Register. A bit set to one in the
Standard Event Status Enable Register enables the corresponding bit in the
Standard Event Status Register. A zero disables the bit. Refer to Table 4-1 for
information about the Standard Event Status Enable Register bits, bit weights,
and what each bit masks.
4-12