Cls clear status, Ese event status enable – Quantum Data 801GC User Manual

Page 196

Advertising
background image

6-70

Chapter 6: Programming

Model 801GC, 801GF & 801GX¥Rev. A

*CLS

Clear Status

Definition:

The *CLS command clears the Event Status Regis-
ter, the Status Byte and the output buffer.

Command Syntax:

*CLS

Example:

*CLS

Related Commands: *ESR? *STB?

*ESE

Event Status Enable

Definition:

The *ESE command sets the Event Status Enable
register to the given mask value. The bits in the
Event Status Enable register function as enable bits
for each corresponding bit in the Event Status reg-
ister. That is, when a bit in the Event Status register
goes high, and the corresponding bit in the Event
Status Enable register is a 1, it is enabled and will
cause the ESB bit in the Status Byte register to go
high.

The *ESE query returns the current value of the Event
Status Enable register.

Command Syntax:

*ESE <mask>

<mask> = 0 - 255

Example:

*ESE 8

Query Syntax:

*ESE?

Returns:

<mask><NL>

<mask> is in integer NR1 form

Example:

*ESE?

Related Commands: *CLS *ESR?

Advertising
This manual is related to the following products: