IEEE-488 Reference
3-31
*ESR? — event status register query
Read the Standard Event Status Register and clear it.
This command is used to acquire the value (in decimal) of the Standard Event Status Register
(see Figure 3-15). The binary equivalent of the returned decimal value determines which bits in
the register are set. This register is cleared on power-up or when *CLS is sent.
A set bit in this register indicates that a particular event has occurred. For example, for an
acquired decimal value of 48, the binary equivalent is 00110000. For this binary value, bits B4
and B5 of the Standard Event Status Register are set. These set bits indicate that a device-
dependent error and command error have occurred.
The bits of the Standard Event Status Register are described as follows:
Bit B0, Operation Complete (OPC) —
Set bit indicates that all pending selected device oper-
ations are completed and the Model 2002 is ready to accept new commands. This bit only sets
in response to the *OPC? query command (see paragraph 3.10.6).
Bit B1 —
Not Used.
Bit B2, Query Error (QYE) —
Set bit indicates that you attempted to read data from an empty
Output Queue.
Bit B3, Device-dependent Error (DDE) —
Set bit indicates that an instrument operation did
not execute properly due to some internal condition.
Bit B4, Execution Error (EXE) —
Set bit indicates that the Model 2002 detected an error while
trying to execute a command.
Bit B5, Command Error (CME) —
Set bit indicates that a command error has occurred. Com-
mand errors include:
Figure 3-14
Standard Event Enable Register
B7
B6
B5
B4
B3
B2
B1
B0
0/1
0/1
0/1
Bit Position
Event
Decimal Weighting
Value
Value : 1 = Enable Standard Event
0 = Disable (Mask) Standard Event
PON URQ CME
DDE
EXE
QYE
OPC
0/1
0/1
0/1
0/1
(2 )
7
(2 )
6
(2 )
5
(2 )
4
(2 )
3
(2 )
2
(2 )
0
64
32
1
128
16
8
4
Note : Bits B8 through B15 are not shown since they are not used.
Events : PON = Power On
URQ = User Request
CME = Command Error
EXE = Execution Error
DDE = Device-dependent Error
QYE = Query Error
OPC = Operation Complete
3.10.3
Description
Содержание 2002
Страница 123: ...Front Panel Operation 2 106...
Страница 145: ...IEEE 488 Reference 3 22...
Страница 167: ...IEEE 488 Reference 3 44...
Страница 284: ...A Specifications A 1...
Страница 362: ......
Страница 364: ...This page left blank intentionally...
Страница 365: ......