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. Refer to “Status Reporting Structure” on page 7-48.

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

This command does not have query form.

Syntax*CLS

Example OUTPUT @Hp5250;"*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, refer to “Standard Event Status Enable Register” on page 7-54

Agilent E5250A User’s Guide, Edition 9

7-5

Page 173
Image 173
Agilent Technologies Agilent E5250A manual Cls