Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-320 2651A-901-01 Rev. A / March 2011
As an example, to set bit B0 of the system summary 3 enable register, set status.system3.enable =
status.system3.EXT.
In addition to the above constants, enableRegister can be set to the numeric equivalent of the bit to set. To
set more than one bit of the register, set enableRegister to the sum of their decimal weights. For example, to
set bits B11 and B14, set enableRegister to 18,432 (which is the sum of 2048 + 16,384).
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 1
enableRegister = status.system3.NODE39 +
status.system3.NODE42
status.system3.enable = enableRegister
Sets bits B11 and B14 of the system
summary 3 enable register using
constants.
Example 2
-- decimal 18432 = binary 0100 1000 0000 0000
enableRegister = 18432
status.system3.enable = enableRegister
Sets bits B11 and B14 of the system
summary 3 enable register using a
decimal value.
Also see
status.system2.* (on page 7-316)
status.system4.*
(on page 7-320)
System summary and standard event registers
(on page E-6)
status.system4.*
These attributes manage the status model's TSP-Link
®
system summary register for nodes 43 through 56.
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 32,767 (All bits set)