A: Common commands 2470 High Voltage SourceMeter Instrument
A-4 2470-901-01 Rev. A / May 2019
*ESR?
This command reads and clears the contents of the Standard Event Status Register.
Type Affected by Where saved Default value
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 A-6) command or TSP opc() (on page
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
def
ined syntax of the IEEE Std 488.2 standard.
• Semantic error: The instrument received a command that was misspelled or received an
opt
ional 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
Example output:
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 B-1)