Status and event reporting process – Tektronix 070-9180-01 User Manual

Page 94

Advertising
background image

Status and Events

Option 01 VXI Interface Module User Manual

4–5

Status and Event Reporting Process

Figure 4–1 shows how to use the Status and Event Reporting system. In the
explanation that follows, numbers in parentheses refer to the circled numbers in
Figure 4–1.

Standard Event Status

register

Event Status Enable

register

Read using *ESE?

Write using *ESE

Status Byte

register

Read using *STB?

Service Request Enable

register

Read using *SRE?

Write using *SRE

Event
queue

Output
queue

Event
Event
Event

Byte
Byte
Byte

2

3

5

6

4

Power

On

Command

Error

Execution

Error

Query

Error

Operation

Complete

7

6

5

4

3

2

1

0

Power

On

Command

Error

Execution

Error

Query

Error

Operation

Complete

7

6

5

4

3

2

1

0

Event

Status Bit

Message
Available

queue Not

Empty

7

5

4

3

2

1

0

6

Master

Status

Request

Service

6

Event

Status Bit

Message
Available

7

5

4

3

2

1

0

6

1

Read using *ESR?

11

111

Figure 4–1: Status and Event Reporting Process

When an event occurs the appropriate bit in the Standard Event Status register is
set to one and the event is recorded in the Event queue (1). If the corresponding
bit in the Event Status Enable register is also enabled (2), then the event status
bit in the Status Byte register is set to one (3).

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertising