Status register
The status register structure of the Model 2002 lets you monitor and act upon numerous
events that occur. Many programming decisions can be made by monitoring the Measurement
Event Register and the Operation Event Register. See the User’s Manual for details of the status
registers.
:STATus STATus Subsystem.
:MEASurement Path for measurement status registers:
:[:EVENt]? Use to read the Measurement Event Register.
:OPERation Path for operation status registers:
[:EVENt]? Use to read the Operation Event Register.
When an event register is read, a decimal value is sent to the computer. The binary equivalent
determines which bits in the register are set. For example, a decimal value of 33 indicates that
bits B0 and B5 are set. An event register is cleared when it is read. Sending
*CLS clears all event
registers.
Some of the more useful bits of these event registers are summarized as follows:
Measurement Event Register Operation Event Register
Bit B0 set = Reading Overflow Bit B4 set = Measuring
Bit B5 set = Reading Available Bit B9 set = Calculating
Bit B7 set = Buffer Available Bit B10 set = Idle
Bit B8 set = Buffer Half Full
Bit B9 set = Buffer Full
IEEE-488 Bus Operation 3-17