Appendix A: Common commands
2470 High Voltage SourceMeter Instrument Reference Manual
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
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
status.standard.OPC
All pending selected instrument operations are
complete and the instrument is ready to accept new
commands. The bit is set in response to an
14-98) function.
1
2
Not used
Not used.
2
4
status.standard.QYE
Attempt to read data from an empty Output Queue.
3
8
Not used
Not used.
4
16
Not used
Not used.
5
32
Not used
Not used.
6
64
Not used
Not used.
7
128
status.standard.PON
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
*ESR?
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
(on page B-1)