Keithley S46 Instruction Manual page 61

Microwave switch system
Hide thumbs Also See for S46:
Table of Contents

Advertisement

3-26
Operation
*ESR? - Event Status Register Query
Use this command to acquire the value (in decimal) of the Standard Event Register (see
Figure
the register are set. The register is cleared on power-up.
Figure 3-9
Standard event status register
Decimal Weighting
Value: 1 = Event Bit Set
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. From this binary value,
bits B4 and B5 of the Standard Event Status Register are set. These bits indicate that a
device-dependent error and command error have occurred.
The bits of the Standard Event Status Register are described as follows:
S46-901-01 Rev. C / January 2006
3-9). The binary equivalent of the returned decimal value determines which bits in
Bit Position
(B15 - B8)
Event
Value
2 = Event Bit Cleared
Bit B0, Operation Complete — A set bit indicates that all pending selected device
operations are completed and the S46/S46T is ready to accept new commands.
This bit only sets in response to the *OPC command. It is not affected by the
*OPC? command.
Bit B1 — Not used.
Bit B2, Query Error (QYE) — A set bit indicates that you attempted to read data
from an empty Output Queue.
Bit B3, Device-Dependent Error (DDE) — A set bit indicates that an instrument
operation did not execute properly due to some internal condition.
S46/S46T Microwave Switch System Instruction Manual
Reads then clears the standard event status register
B7
B6
B5
B4
PON
CME EXE DDE QYE
128
32
16
7
5
4
(2
)
(2
)
(2
)
0/1
0/1
0/1
Events: PON = Power On
CME = Command Error
EXE = Execution Error
DDE = Device-Dependent Error
QYE = Query Error
OPC = Operation Complete
B3
B2
B1
B0
OPC
8
4
1
3
2
0
(2
)
(2
)
(2
)
0/1
0/1
0/1

Advertisement

Table of Contents
loading

Table of Contents