Tektronix AFG3000 Portable Generator User Manual


 
Status and Events
AFG3000 Series Arbitrary/Function Generators Reference Manual 4-9
Use the *ESC command to set the bits in the ESER. Use the *ESR? query to read
the contents of the ESER. Figure 4-6 shows the ESER functions.
Figure 4-6: Event Status Enable Register (ESER)
Service Request Enable Register (SRER). The SRER consists of bits defined
exactly the same as bits 0 through 7 in the SBR. You can use this register to define
which events will generate service requests.
The SRER bit 6 cannot be set. Also, the RQS is not maskable.
The generation of a service request with the GPIB interface involves changing the
SRQ line to LOW, and making a service request to the controller. The result is that
a status byte for which an RQS has been set is returned in response to serial polling
by the controller.
Use the *SRE command to set the bits of the SRER. Use the *SRE? query to read
the contents of the SRER. Bit 6 must be set to 0. Figure 4-7 shows the SRER func-
tions.
Figure 4-7: Service Request Enable Register (SRER)
Operation Enable Register (OENR). The OENR consists of bits defined exactly the
same as bits 0 through 15 in the OEVR (see Figure 4-8). You can use this register
to control whether or not the Operation Status Bit (OSB) in the SBR is set when an
event occurs and the corresponding OEVR bit is set.
Use the STATus:OPERation:ENABle command to set the bits in the OENR. Use
the STATus:OPERation:ENABle? query to read the contents of the OENR.
Figure 4-8: Operation Enable Register (OENR)
PON
PON
CME
ME
EXE
EXE
DDE
DDE
QYE
QYE
O PC
PC
76543210
7 6 5 4 3 2 1 0
URQ
URQ
RQC
RQC
RQS
RQS
ESB
ESB
MAV
MAV
MSS
MSS
7
7
6
6
543210
5 4 3 2 1 0
6
6
OSB
OSB
QSB
QSB
EQS
EQS
SWE
SWE
CAL
CAL
WTRIG
WTRIG
(CH1)
(CH1)
WTRIG
WTRIG
(CH2)
(CH2)
543210
5 4 3 2 1 0
1 5
15
14
14
13
13
12
12
1 1
11
10
10
9
9
8
8
7
7
6