Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-299
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 1
operationRegister = status.operation.user.BIT11 +
status.operation.user.BIT14
status.operation.user.enable = operationRegister
Uses constants to set bits B11 and B14
of the operation status user enable
register.
Example 2
-- 18432 = binary 0100 1000 0000 0000
operationRegister = 18432
status.operation.enable = operationRegister
Uses a decimal value to set bits B11 and
B14 of the operation status user enable
register.
Also see
(on page E-9)
status.questionable.*
These attributes manage the status model's questionable status 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
13,056 (All bits set)
Usage
questionableRegister
= status.questionable.condition
questionableRegister
= status.questionable.enable
questionableRegister
= status.questionable.event
questionableRegister
= status.questionable.ntr
questionableRegister
= status.questionable.ptr
status.questionable.enable =
questionableRegister
status.questionable.ntr =
questionableRegister
status.questionable.ptr =
questionableRegister
questionableRegister
The status of the questionable status register; a zero (0) indicates no bits set
(also send 0 to clear all bits); other values indicate various bit settings
Summary of Contents for 2657A
Page 3: ......