General Programming Aspects

Status Model

Enable Register

The enable register defines which bits in an event register are included in the logical OR into the summary bit. The enable register is logically ANDed with the event register and the resulting bits ORed into the summary bit. Enable registers are read/write, and are not affected by *CLS or querying.

Although all status groups have all of these registers, not all status groups actually use all of the registers. The following table summarizes the registers used in the instrument status groups.

 

Registers in Group

 

 

 

 

 

 

 

 

 

Status Group

CONDition

NTR

PTR

EVENt

ENABLe

 

 

 

 

 

 

QUEStionable

OPERation1

x

x

x

x

x

Standard Event Status

x

x

x

2

3

Status Byte

x

x

x

4

5

 

 

 

 

 

 

1Present, but not used. COND and EVEN always 0.

2 Use *ESR? to query.

3 Use *ESE to set, *ESE? to query

4 Use *STB? to query

5 Use *SRE to set, *SRE? to query

21

Page 21
Image 21
Agilent Technologies 660MHz, Agilent 81130A 400 manual Enable Register, Ntr Ptr