B: Common commands Model 2450 Interactive SourceMeter® Instrument
B-4 2450-901-01 Rev. B/September 2013
*ESR?
This command reads and clears the contents of the Standard Event Status Register.
Type Affected by Where saved Default value
Query only
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:
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
Attempt to read data from an empty Output
Queue.
An instrument operation did not execute properly
due to an internal condition.
The instrument detected an error while trying to
execute a command.
A command error has occurred. See information
following this table for descriptions of command
6 64
The instrument transitioned from remote control
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
Might return the value
, showing that the Standard Event Status
Register contains binary 10010101
Also see
Status model (on page C-1)