beautypg.com

Sre -10 – Agilent Technologies B2201A User Manual

Page 136

background image

5-10

Agilent B2200 User’s Guide, Edition 2

SCPI Command Reference
*SRE

*SRE

This command sets the Service Request “Enable” Register bits.
1 enables, 0 masks.

Syntax

*SRE enable_number

Query response

enable_number <^END>

Semantics

The Service Request “Enable” Register consists of 8 bits: Bit0 to Bit7. Bit6 is not
defined, and is always 0. The Service Request “Enable” Register determines which
bits of the Status Byte Register are enabled.

The status of the enabled bits are ORed together, and the result of OR is output to
bit6 (Master Summary Status bit) of Status Byte Register. For details, see “Status
Reporting Structure” on page 5-53
.

The following table shows the bits of the Status Byte Register, and the
binary-weighted decimal value of each bit.

Example

The following four lines enable the same bits (bit 4 and 5):

OUTPUT @Agb2200;"*SRE 48"

using decimal numeric

OUTPUT @Agb2200;"*SRE #B110000"

using binary numeric

OUTPUT @Agb2200;"*SRE #Q60"

using octal numeric

OUTPUT @Agb2200;"*SRE #H30"

using hexadecimal numeric

Parameter Explanation

enable_number

decimal integer (that is the sum of the binary-weighted values
for the desired bits), hexadecimal, octal, or binary value

bit binary-weight

description

0

1

not used

1

2

not used

2

4

not used

3

8

not used

4

16

MAV (Message Available summary-message)

5

32

ESB (Event Status Bit)

6

64

MSS (Master Summary Status)

7

128

not used

This manual is related to the following products: