Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-253
Bit Value
Description
B0
status.measurement.VOLTAGE_LIMIT
status.measurement.VLMT
Set bit is a summary of the
status.measurement.voltage_limit
register.
Bit B0 decimal value: 1
B1
status.measurement.CURRENT_LIMIT
status.measurement.ILMT
Set bit is a summary of the
status.measurement.current_limit
register.
Bit B1 decimal value: 2
B2-B6
Not used
Not applicable
B7
status.measurement.READING_OVERFLOW
status.measurement.ROF
Set bit is a summary of the
status.measurement.reading_overflow
register.
Bit B7 decimal value: 128
B8
status.measurement.BUFFER_AVAILABLE
status.measurement.BAV
Set bit is a summary of the
status.measurement.buffer_available
register.
Bit B8 decimal value: 256
B9-B10
Not used
Not applicable
B11
status.measurement.OUTPUT_ENABLE
status.measurement.OE
Set bit indicates that output enable has been
asserted.
Bit B11 decimal value: 2048
B12
Not used
Not applicable
B13
status.measurement.INSTRUMENT_SUMMARY
status.measurement.INST
Set bit indicates that a bit in the measurement
instrument summary register is set.
Bit B13 decimal value: 8192
B14-B15 Not used
Not applicable
As an example, to set bit B8 of the measurement event enable register, set
status.measurement.enable =
status.measurement.BAV
.
In addition to the above constants,
measurementRegister
can be set to the decimal equivalent of the bit to
set. To set more than one bit of the register, set
measurementRegister
to the sum of their decimal weights.
For example, to set bits B1 and B8, set
measurementRegister
to 258 (which is the sum of 2 + 256).
Bit
B7 B6 B5 B4 B3 B2 B1 B0
Binary
value
0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1
Decimal
128 64 32 16 8 4 2 1
Weights (2
7
) (2
6
) (2
5
) (2
4
) (2
3
) (2
2
) (2
1
) (2
0
)
Bit
B15 B14 B13 B12 B11 B10 B9 B8
Binary
value
0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1
Decimal
32,768 16,384 8,192 4,096 2,048 1024 512 256
Weights (2
15
) (2
14
) (2
13
) (2
12
) (2
11
) (2
10
) (2
9
) (2
8
)
Example
status.measurement.enable = status.measurement.BAV
Sets the BAV bit of the
measurement event enable register.
Also see
(on page E-23)