Tektronix TDS420A 사용자 설명서

다운로드
페이지 433
Status and Events
3–6
TDS Family Oscilloscope Programmer Manual
Event Handling Sequence
Figure 3–6, on page 3–6, shows how to use the status and event handling
system. In the explanation that follows, numbers in parentheses refer to numbers
in Figure 3–6.
Device Event Status Enable Register
(DESER)
Read using DESE?
Write using DESE
Standard Event Status Register
(SESR)
Read using *ESR?
Cannot be written
Event Status Enable Register
(ESER)
Read using *ESE?
Write using *ESE
Status Byte Register
(SBR)
Read using *STB?
Cannot be written
Service Request Enable Register
(SRER)
Read using *SRE?
Write using *SRE
Event
Queue
Output
Queue
Event
Event
Event
Byte
Byte
Byte
1
2
3
4
6
7
5
PON URQ CME
EXE
DDE
QYE RQC OPC
7
6
5
4
3
2
1
0
PON URQ CME
EXE
DDE
QYE RQC OPC
7
6
5
4
3
2
1
0
PON URQ CME
EXE
DDE
QYE RQC OPC
7
6
5
4
3
2
1
0
RQS
ESB
MAV
MSS
7
6
5
4
3
2
1
0
6
ESB
MAV
7
6
5
4
3
2
1
0
Figure 3–6: Status and Event Handling Process
When an event occurs, a signal is sent to the DESER (1). If that type of event is
enabled in the DESER (that is, if the bit for that event type is set to 1), the
appropriate bit in the SESR is set to one, and the event is recorded in the Event
Queue (2). If the corresponding bit in the ESER is also enabled (3), then the ESB
bit in the SBR is set to one (4).