Tektronix 070-9180-01 Network Router User Manual


 
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
765 4 3 210
Power
On
Command
Error
Execution
Error
Query
Error
Operation
Complete
765 4 3 210
Event
Status Bit
Message
Available
queue Not
Empty
7543210
——
6
Master
Status
Request
Service
6
Event
Status Bit
Message
Available
7543210
——
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).