Section 7: SCPI command reference Series 2280 Precision DC Power Supply Reference Manual
7-8 077085503 / March 2019
*SRE
This command sets and queries the bits of Status Request Enable Register.
Usage
*SRE <n>
*SRE?
Clear the Status Request Enable Register: 0
Set the instrument for an SRQ interrupt: 32
Details
To set a bit of Status Request Enable Register, send the constant or the value of the bit as the <n>
parameter. You can also send 0 to clear all bits.
To query the Status Request Enable Register, send the *SRE? command. The instrument returns a
decimal value that corresponds to the binary-weighted sum of all of the bits set in the register. For
details, refer to Status Byte Register (on page D-7).
Example
Clear the bits of the Status Request Enable Register.
Also see
Status model (on page D-1)
*STB?
This command reads the contents of Status Byte Register.
Usage
*STB?
Details
This command returns a decimal value that corresponds to the binary-weighted sum of all bits set in
the register. Sending this command does not clear the bits in the Status Byte Register.