Status Structure 8-17
Condition registers
As Figure 8-1 shows, each status register set (except the standard event register set) has a
condition register. A condition register is a real-time, read-only register that constantly updates
to refle
ct the present operating conditions of the instrument. For example, when a current pulse
is not detected on the battery channel, bit B4 (PTT1) of the measurement condition register will
be set (1). When the pulse is detected, the bit clears (0).
The commands to read the condition registers are listed in T
able 8-3. For details on reading
registers, See “Reading registers” on page 8-5.
Table 8-3
Common and SCPI commands — condition registers
Command Description
STATus
:OPERation:CONDition?
:MEASurement:CONDition?
:QUEStionable:CONDition?
STATus subsystem:
Read operation condition register.
Read measurement condition register.
Read questionable condition register.
Event registers
As Figure 8-1 shows, each status register set has an event register. When an event occurs, the
appropriate event register bit sets to 1. The bit remains latched
to 1 until the register is reset.
Reading an event register clears the bits of that register. *CLS resets all four event registers.
The commands to read the event registers are listed in T
able 8-4. For details on reading
registers, see “Reading registers” on page 8-5.
Table 8-4
Common and SCPI commands — event registers
Command Description Default
*ESR? Read standard event status register.
(Note)
STATus
:OPERation:[:EVENt]?
:MEASurement:[:EVENt]?
:QUEStionable:[:EVENt]?
STATus subsystem:
Read operation event register.
Read measurement event register.
Read questionable event register.
Note: Power-up and *CLS resets all bits of all event registers to 0. STATus:PRESet has no effect.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com