
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-300
2657A-901-01 Rev. B/December 2012
Details
These attributes are used to read or write to the questionable status registers. Reading a status register returns a
value. In the binary equivalent, the least significant bit is bit B0, and the most significant bit is bit B15. For
example, if a value of 1.04 (which is 12,288) is read as the value of the condition register, the binary
equivalent is 0011 0000 0000 0000. This value indicates that bits B12 and B13 are set.
B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
** > > > > > > > > > > > > > > *
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
* Least significant bit
** Most significant bit
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to
(on
Enable and transition registers
(on page E-19). The individual bits of this register are defined in
the following table.
Bit Value
Description
B0-B7
Not used
Not available
B8
status.questionable.CALIBRATION
status.questionable.CAL
An enabled bit in the questionable status
calibration summary event register is set.
Bit B6 decimal value:256
B9
status.questionable.UNSTABLE_OUTPUT
status.questionable.UO
An enabled bit in the questionable status unstable
output summary event register is set.
Bit B9 decimal value: 512
B10-B11 Not used
Not available
B12
status.questionable.OVER_TEMPERATURE
status.questionable.OTEMP
An enabled bit in the questionable status over
temperature summary event register is set.
Bit B12 decimal value: 4,096
B13
status.questionable.INSTRUMENT_SUMMARY
status.questionable.INST
An enabled bit in the questionable status
instrument summary event register is set.
Bit B13 decimal value: 8,192
B14-B15 Not used
Not available
As an example, to set bit B9 of the questionable status enable register, set
status.questionable.enable
= status.questionable.UO
.
In addition to the above constants,
questionableRegister
can be set to the numeric equivalent of the bit to
set. To set more than one bit of the register, set
questionableRegister
to the sum of their decimal weights.
For example, to set bits B12 and B13, set
questionableRegister
to 12,288 (which is the sum of 4,096 +
8,192).
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 1,024 512 256
Weights
(2
15
) (2
14
) (2
13
) (2
12
) (2
11
) (2
10
) (2
9
) (2
8
)
Also see
(on page E-13)
Содержание 2657A
Страница 3: ......