Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-8
077114601 / March 2019
*SRE
This command sets and queries the bits of Status Request Enable Register.
Type
Affected by
Where saved
Default value
Command and query
Power cycle
Not saved
See
Details
Usage
*SRE <n>
*SRE?
[n]
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
(on page D-7).
Example
*SRE 0
Clear the bits of the Status Request Enable Register.
Also see
(on page D-1)