B: Common commands Model 2461 Interactive SourceMeter® Instrument
B-4 2461-901-01 A/November 2015
*ESR?
This command reads and clears the contents of the Standard Event Status Register.
Type Affected by Where saved Default value
Query only Not applicable Not applicable Not applicable
Usage
*ESR?
Details
The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in
the register.
Bit
Decimal
value
Constant When set, indicates the following has occurred:
0 1
All pending selected instrument operations are
complete and the instrument is ready to accept new
commands. The bit is set in response to an *OPC
(on page B-6) command or TSP opc() (on page 8-
Attempt to read data from an empty Output Queue.
The instrument has been turned off and turned back
on since the last time this register was read.
Command errors include:
• IEEE Std 488.2 syntax error: The instrument received a message that does not follow the defined
syntax of the IEEE Std 488.2 standard.
• Semantic error: The instrument received a command that was misspelled or received an optional IEEE
Std 488.2 command that is not implemented in the instrument.
• GET error: The instrument received a Group Execute Trigger (GET) inside a program message.
Example
128
Shows that the Standard Event Status Register contains binary
10000000
, which indicates that the instrument was rebooted since the
last time this register was read.
Also see
Status model (on page C-1)