Technical data

172 Agilent Signal Generators Programming Guide
Programming the Status Register System
Accessing Status Register Information
*ESE, *ESE? (event status enable) sets and queries the bits in the Standard Event Enable Register
which is part of the Standard Event Status Group.
*ESR? (event status register) queries and clears the Standard Event Status Register which is part
of the Standard Event Status Group.
*OPC, *OPC? (operation complete) sets bit #0 in the Standard Event Status Register to 1 when all
commands have completed. The query stops any new commands from being processed until the
current processing is complete, then returns a 1.
*PSC, *PSC? (power- on state clear) sets the power- on state so that it clears the Service Request
Enable Register, the Standard Event Status Enable Register, and device- specific event enable
registers at power on. The query returns the flag setting from the *PSC command.
*SRE, *SRE? (service request enable) sets and queries the value of the Service Request Enable
Register.
*STB? (status byte) queries the value of the status byte register without erasing its contents.
:STATus:PRESet presets all transition filters, non- IEEE 488.2 enable registers, and error/event
queue enable registers. (Refer to Table 4- 2.)