Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-310
2600BS-901-01 Rev. B / May 2013
As an example, to set bit B8 of the questionable status SMU A summary enable register, set
status.questionable.instrument.smua.enable =
status.questionable.instrument.smua.CAL
.
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 B8 and B9, set
questionableRegister
to 768 (which is the sum of 256 + 512).
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
)
Example
questionableRegister =
status.questionable.instrument.smua.CAL +
status.questionable.instrument.smua.UO
status.questionable.instrument.smua.enable =
questionableRegister
Uses constants to set bit B8
and bit B9 of the
questionable status SMU A
summary enable register.
Also see
Questionable Status Registers
(on page E-13)
status.operation.*
(on page 7-270)
status.questionable.over_temperature.*
This attribute contains the questionable status over temperature summary register set.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute
- -
- -
- -
- -
.condition (R)
Yes
Not applicable
Not saved
Not applicable
.enable (RW)
Yes
Status reset
Not saved
0
.event (R)
Yes
Status reset
Not saved
0
.ntr (RW)
Yes
Status reset
Not saved
0
.ptr (RW)
Yes
Status reset
Not saved
Models 2601B/2611B/2635B: 2 (All bits set)
Models
2602B/2604B/2612B/2614B/2634B/2636B: 6
(All bits set)
Summary of Contents for System SourceMeter 2601B
Page 841: ......