8-39
IM 704420-01E
Communication Function
8
8.8 Status Report
Standard Event Register Operation
Standard event register is a register for the eight types
of events that occur inside the instrument. When any
of the bits becomes a “
1
,” bit 5 (
ESB
) of the status byte
is set to “
1
” (when the corresponding bit of the
standard event enable register is also set to “
1
”).
Example
1. A query error occurs.
2. Bit 2 (
QYE
) is set to “
1
.”
3. If bit 2 of the standard event enable register is a
“
1
”, then bit 5 (
ESB
) of the status byte is set to “
1
.”
In addition, you can also check what type of event
occurred in the instrument by reading the contents of
the standard event register.
8.8 Status Report
Reading the Standard Event Register
The
*ESR?
command can be used to read the contents
of the standard event register. The register is cleared
after it is read.
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 the
*ESR
command.
• When a
*CLS
command is received.
• When the instrument is powered up again.
8.8.4 Extended Event Register
The transition filter detects the changes in the condition register that indicate the internal condition of the
instrument and writes the result to the extended event register.
0
0
6
ULK
7
5
4
3
2
1
0
0
0
0
0
0
DAT
8
9
10
11
12
13
14
0
0
0
0
0
0
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
DAT (Data Available)
Set to “
1
” when the measured data and the computation result of statistical data
are valid.
Bit 6
ULK (UnLock)
Set to “
1
” when the PLL is unlocked.
The transition filter parameters detect changes in the specified bit (numeric suffix, 1 to
16) of the condition register in the following manner and overwrite the extended event
register.
RISE
Sets the specified bit of the extended event register to “
1
”, on a 0-to-1 change.
FALL
Sets the specified bit of the extended event register to “
1
”, on a 1-to-0 change.
BOTH
Sets the specified bit of the extended event register to “
1
”, on both 0-to-1 and 1-
to-0 change.
NEVer
Always 0.