4- 106 Keysight E5260/E5270 Programming Guide, Edition 4
Command Reference
Command Reference
*SRE
The *SRE command enables the specified bits of the status byte register for SRQ
(service requests), and masks (disables) the bits that are not specified.
Syntax *SRE bit
Parameters bit : Sum of the decimal values corresponding to the bits to be enabled.
Integer expression. 0 to 255. See the following table.
For example, to enable Bit 0, 4, and 7 for the SRQ, the bit value must
be 145 (1 + 16 + 128).
If bit=0, all bits, except for Bit 6, will be masked (disabled for the
SRQ). You cannot mask bit 6.
Example
Statements
OUTPUT @E5270;"*SRE 6"
OUTPUT @E5270;"*SRE 128"
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