Appendix B: Status model
2470 High Voltage SourceMeter Instrument Reference Manual
B-4
2470-901-01 Rev. A /
May
2019
You can use the following commands to read and set bits in the Standard Event Register.
Description
SCPI command
TSP command
Read the Standard Event Status
Register
(on page A-4)
(on page 14-191)
Set or read the OR bits in the
Standard Event Status Enable
Register
(on page A-2)
ESE?
(on page 14-189)
Programmable status register sets
You can program the registers in the Questionable Event Register and Operation Event Register sets.
These event registers contain bits that identify the state of an instrument condition or event. They also
contain bits that determine if those events are sent to the Status Byte Register. You can enable the
events, which causes the associated bit to be set in the Status Byte Register.
The Questionable and Operation Event Registers are identical except that they set different bits in the
Status Byte Register. The Questionable Event Registers set the MSB and QSM bits. The Operation
Event Registers set the OSB bit.
Each 16-bit register set includes the following registers:
•
Condition:
A read-only register that is constantly updated to reflect the present operating
conditions of the instrument. You can determine which events set or clear the bits.
•
Event:
A read-only register that sets a bit to 1 when an applicable event occurs. The bit remains
at 1 until the register is reset. This register is reset when power is cycled, when a
*CLS
command
is sent, or when the register is read. You can determine which events set the bits.
•
Event enable:
A read-write register that determines which events set the summary bit in the
Status Byte Register. For example, if a bit is a 1 in the event register and the corresponding bit is
a 1 in the Event Enable Register, bits in the Status Byte Register are set. If the event enable bit is
set in the Questionable Event Registers, the event sets the MSB and QSM bits in the Status Byte
Register. If the event enable bit is set in the Operation Event Registers, the event sets the OSB
bit in the Status Byte Register.
When the instrument is powered on, all bits in the Questionable Event and Operation Event Registers
are set to 0.