SCPI Command Reference *CLS

*CLS

This command clears the Status Byte Register, the Standard Event Status Register, and the Error Queue. This command does not clear the enable registers. See “Status Reporting Structure” on page 5-53.

Also, this command stops the monitoring of pending operations by the *OPC command.

This command does not have query form.

Syntax*CLS

Example OUTPUT @Agb2200;"*CLS"

*ESE

This command sets the bits of the Standard Event Status “Enable” Register. 1 enables, 0 masks.

Syntax

*ESE enable_number

 

 

 

 

Parameter

Explanation

 

 

 

 

enable_number

decimal integer (that is the sum of the binary-weighted values

 

 

for the desired bits), hexadecimal, octal, or binary value

 

 

 

Query response

enable_number <newline><^END>

 

enable_number is decimal integer value that is the sum of the binary-weighted

 

values of the “Enable” register bits.

Semantics

The Standard Event Status “Enable” Register determines which bits of the Standard

 

Event Status Register are enabled. Enabled bits are ORed together, and the result is

 

reported to bit5 of the Status Byte Register.

The Standard Event Status “Enable” Register consists of 16 bits, but only the lower 8 bits are used, which correspond to the bits of the Standard Event Status Register. For details, see “Standard Event Status Enable Register” on page 5-59.

Agilent B2200 User’s Guide, Edition 2

5-5

Page 131
Image 131
Agilent Technologies B2201A, B2200A manual Cls