Tektronix TDS684B Caulking Gun User Manual


 
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
76543210
PON URQ CME EXE DDE QYE RQC OPC
76543210
PON URQ CME EXE DDE QYE RQC OPC
76543210
RQS
ESB MAV
MSS
7
6
543210
6
ESB MAV
76543210
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).