Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-278
2600BS-901-01 Rev. C / August 2016
B15 B14 B13 B12 B11 B10 B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
**
>
>
>
>
>
>
>
>
>
>
>
>
>
>
*
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
* Least significant bit
** Most significant bit
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to
Enable and transition registers
(on page E-19). The individual bits of this
register are defined in the following table.
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
Model 2601B/2602B/2604B: output enable line. Set
bit indicates that output enable has been asserted.
Bit B11 decimal value: 2,048
status.measurement.INTERLOCK
status.measurement.INT
Model 2611B/2612B/2614B/2634B/2635B/2636B:
interlock line. Set bit indicates that interlock has been
asserted.
Bit B11 decimal value: 2,048
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: 8,192
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
)