Keysight E5260/E5270 Programming Guide, Edition 4 4- 107
Command Reference
Command Reference
*SRE?
The *SRE? query command returns information about which bits of the status byte
register are enabled for the SRQ (service requests), and stores the results in the
output data buffer (query buffer).
Syntax *SRE?
Query Response enabled_bits<CR/LF^EOI>
enabled_bits are represented by the corresponding decimal values shown below.
For example, if Bit 0, 3, and 4 are enabled for the SRQ, 25 (1 + 8 + 16) will be
returned. If all bits, except for Bit 6, are masked, enabled_bits will be 0.
Example
Statements
OUTPUT @E5270;"*SRE?"
ENTER
@E5270;A
Decimal Value Bit Number Description
1 Bit 0 Data Ready
2 Bit 1 Wait
4 Bit 2 not used
8 Bit 3 Interlock Open
16 Bit 4 Set Ready
32 Bit 5 Error
64 Bit 6 RQS
128 Bit 7 Shut Down