Sre service request enable, Stb? status byte – Quantum Data 801GC User Manual

Page 199

Advertising
background image

6-73

*SRE

Service Request Enable

Definition:

The *SRE command sets the Service Request Enable

register to the mask value given. The bits in the
Service Request Enable register function as enable
bits for each corresponding bit in the Status Byte
register to enable a condition to request service from
the system controller. That is, when a bit in the Status
Byte register goes true, and the corresponding bit
in the Service Request Enable register is also true,
the 801G* will request service through the GPIB.

The *SRE query returns the current value of the
Service Request Enable register.

Command Syntax:

*SRE <mask>

<mask> = 0 - 255

Example:

*SRE 16

Query Syntax:

*SRE?

Returns: <mask><NL>

<mask> is in integer NR1 form

Example:

*SRE?

Related Commands: *STB *ESE

*STB?

Status Byte

Definition:

The *STB query returns the current value of the Status
Byte register. The value stored in the Status Byte
register is not affected by reading it.

Query Syntax:

*STB?

Returns:

<Status Byte><NL>

<status byte> is in integer NR1 form

Example:

*STB?

Related Commands: *SRE *ESR? *CLS

Advertising
This manual is related to the following products: