6-4
IM 701730-17E
6.3 Standard Event Register/6.4 Extended Event Register
Operation of the Standard Event Register
The standard event register is provided for eight
different kinds of event which can occur inside the
instrument. Bit 5 (ESB) of the status byte is set to
"1"
when any of the bits in this register becomes
"1"
(or
when the corresponding bit of the standard event
enable register becomes
"1"
).
Examples
1. A query error occurs.
2. Bit 2 (QYE) is set to
"1."
3. Bit 5 (ESB) of the status byte is set to
"1"
if bit 2 of
the standard event enable register is
"1."
It is also possible to check what type of event has
occurred inside the instrument by reading the contents
of the standard event register.
Reading from the Standard Event Register
The contents of the standard event register can be
read by the
*ESR
command. After completion of the
read-out, the register will be cleared.
Clearing the Standard Event Register
The standard event register is cleared in the following
three cases.
• When the contents of the standard event register
are read using
*ESR?
• When the
*CLS
command is received
• When power is turned ON again
6.4
Extended Event Register
Reading the extended event register tells you whether changes in the condition register (reflecting internal conditions)
have occurred. A filter can be applied which allows you to decide which events are reported to the extended event
register.
ACS
6
MES
7
5
4
3
2
1
0
PRN
TST
CAL
TRG
HLD
RUN
HST
8
SUP
9
NGO
10
SCH
11
NSG
12
INI
13
FFT
14
0
15
6
7
5
4
3
2
1
0
8
9
10
11
12
13
14
15
Condition Register
:STATus:CONDition?
Transition Filter
0
14
15
Extended Event Register
1
6
7
5
4
3
8
9
10
11
12
13
2
6
7
5
4
3
2
1
8
9
10
11
12
13
14
15
16
:STATus:FILTer<x>
{RISE|FALL|BOTH|NEVer}
:STATus:EESR?
FILTer<x> ->
The meaning of each bit of the condition register is as follows.
Bit 0 RUN (Running)
Set to
"1"
during acquisition.
Bit 1 HLD (Hold)
Set to
"1"
for waveforms loaded from a storage medium.
Bit 2 TRG (Awaiting Trigger)
Set to
"1"
when waiting for a trigger.
Bit 3 CAL (Calibrating)
Set to
"1"
during calibration.
Bit 4 TST (Testing)
Set to
"1"
during self-test.
Bit 5 PRN (Printing)
Set to
"1"
while the built-in printer is in operation, data is being output to the external printer(USB or network printer), or screen image data is
being stored.
Bit 6 ACS (Accessing)
Sets to
"1"
while the floppy disk drive, PC card interface, USB strage, or network drive is being accessed.
Bit 7 MES (Measuring)
Set to
"1"
when automated measurement of waveform parameters or cursor measurement is in progress.
Bit 8 HST (History Search)
Set to
"1"
while executing history search.
Bit 9 SUP (Setup)
Set to
"1"
during auto setup.
Bit 10 NGO (Go/No-Go)
Set to
"1"
while performing GO/NO-GO determination.
Bit 11 SCH (Search)
Set to
"1"
while executing edge/pattern search.
Bit 12 NSG (N-Single)
Set to
"1"
during single(N) trigger mode all waveform display, or history all waveform display.
Bit 13 INI (Initializing)
Sets to
"1"
during initialization.
Bit 14 FFT
Set to
"1"
during FFT calculation or user-defined computation.