235
Chapter 4 Remote Interface Reference
Status Reporting Commands
4
Status Reporting Commands
An application program is included in chapter 6 which shows the use of
the Status System Registers. See page 275 for more information.
See the table on page 227 for the register bit definitions.
*STB?
Query the summary (condition) register in this register group.
This command is similar to a Serial Poll but it is processed like any other
instrument command. This command returns the same result as a
Serial Poll but the “Master Summary” bit (bit 6) is not cleared by the
*STB? command.
*SRE <enable value>
*SRE?
Enable bits in the Status Byte to generate a Service Request. To enable
specific bits, you must write a decimal value which corresponds to the
binary-weighted sum of the bits in the register. The selected bits are
summarized in the “Master Summary” bit (bit 6) of the Status Byte
Register. If any of the selected bits change from “0” to “1”, a Service
Request signal is generated. The *SRE? query returns a decimal value
which corresponds to the binary-weighted sum of all bits enabled by the
*SRE command.
•A *CLS (clear status) does not clear the enable register but it does
clear all bits in the event register.
•A STATus:PRESet does not clear the bits in the Status Byte
enable register.
•A *PSC 0 preserves the contents of the enable register through
power cycles.
Status Byte Register Commands