
*ESR? — Event Status Register Query
Read the standard event status register and
clear it
Description
Use this command to acquire the value (in decimal) of the Standard Event Register (see Fig-
ure 4-14). The binary equivalent of the returned decimal value determines which bits in the reg-
ister are set. The 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 ac-
quired 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:
•
Bit B0, Operation Complete — A set bit indicates that all pending selected device oper-
ations are completed and the Model 2000 is ready to accept new commands. This bit
only sets in response to the *OPC? query 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 opera-
tion did not execute properly due to some internal condition.
•
Bit B4, Execution Error (EXE) — A set bit indicates that the Model 2000 detected an
error while trying to execute a command.
•
Bit B5, Command Error (CME) — A set bit indicates that a command error has occurred.
Command errors include:
•
IEEE-488.2 syntax error: Model 2000 received a message that does not follow the de-
fined syntax of the IEEE-488.2 standard.
•
Semantic error: Model 2000 received a command that was misspelled, or received an op-
tional IEEE-488.2 command that is not implemented.
•
The instrument received a Group Execute Trigger (GET) inside a program message.
•
Bit B6, User Request (URQ) — A set bit indicates that the LOCAL key on the Model
2000 front panel was pressed.
•
Bit B7, Power ON (PON) — A set bit indicates that the Model 2000 has been turned off
and turned back on since the last time this register has been read.
4-42
Remote Operation
Содержание 2000
Страница 1: ...Model 2000Multimeter User s Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E...
Страница 13: ...1 General Information...
Страница 19: ...2 Basic Measurements...
Страница 54: ...2 36 Basic Measurements...
Страница 55: ...3 Measurement Options...
Страница 87: ...4 Remote Operation...
Страница 139: ...5 SCPI CommandReference...
Страница 215: ...A Specifications...
Страница 226: ...A 12 Specifications...
Страница 227: ...B Statusand ErrorMessages...
Страница 233: ...C Example Programs...
Страница 246: ...C 14 Example Programs...
Страница 247: ...D Models196 199and 8840A 8842ACommands...
Страница 255: ...E IEEE 488 BusOverview...
Страница 271: ...F IEEE 488andSCPI ConformanceInformation...