5-52 SCPI Command Reference
STATus subsystem
The STATus subsystem is used to control the status registers of the Model
2000. The commands in this subsystem are summarized in Table 5-7.
[:EVENt]? command
[:EVENt]?
:STATus:MEASurement[:EVENt]? Read Measurement Event Register
:STATus:OPERation[:EVENt]? Read Operation Event Register
:STATus:QUEStionable[:EVENt]? Read Questionable Event Register
Description
These query commands are used to read the event registers. After sending
one of these commands and addressing the Model 2000 to talk, a decimal val-
ue is sent to the computer. The binary equivalent of this value determines
which bits in the appropriate register are set. The event registers are shown
in Figures 5-4, 5-5, and 5-6. Note that reading an event register clears the
bits in that register.
For example, assume that reading the Measurement Event Register results in
an acquired decimal value of 544. The binary equivalent is
0000001000100000. For this binary value, bits B5 and B9 of the Measure-
ment Event Register are set.