2470 High Voltage SourceMeter Instrument Reference Manual
Appendix A: Common commands
2470-901-01 Rev. A /
May
2019
A-3
If you are using TSP, you can set the bit as a constant or a numeric value, as shown in the table
below. To set more than one bit of the register, you can send multiple constants with
+
between them.
You can also set
standardRegister
to the sum of their decimal weights. For example, to set bits
B0 and B2, set
standardRegister
to 5 (which is the sum of 1 + 4). You can also send:
status.standard.enable = status.standard.OPC + status.standard.QYE
If you are using SCPI, you can only set the bit as a numeric value. When zero (0) is returned, no bits
are set. You can also send 0 to clear all bits.
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.
Constants are only available if you are using the TSP command set. If you are using the SCPI
command set, you must use the decimal values.
Example
*ESE 129
*ESE 129
sets the Status Enable register of the Standard Event
Register to binary
10000001
, which enables the PON and OPC bits.
Also see
(on page A-2)
(on page B-3)
(on page B-1)