7: TSP command reference Series 2600B System SourceMeter® Instrument
7-328 2600BS-901-01 Rev. B / May 2013
Details
In an expanded system (TSP-Link), these attributes are used to read or write to the system summary registers.
They are set using a constant or a numeric value, but are returned as a numeric value. The binary equivalent of
the value indicates which register bits are set. 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.30000e+02 (which is 130) is read as the value of the
condition register, the binary equivalent is 0000 0000 1000 0010. This value indicates that bit B1 and bit B7 are
set.
* Least significant bit
** Most significant bit
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to Status register set contents (on
page E-1) and Enable and transition registers (on page E-19). The individual bits of this register are defined in
the following table.
Bit Value Description
B5
Bit B5 decimal value: 32
Bit B7 decimal value: 128
Bit B8 decimal value: 256
B9-B15 Not used Not applicable
As an example, to set bit B1 of the system summary 5 enable register, set status.system5.enable =
status.system5.NODE57.
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 B1 and B4, set enableRegister to 18 (which is the sum of 2 + 16).
(2
) (2
) (2
) (2
) (2
) (2
) (2
) (2
)
Weights
(2
) (2
) (2
) (2
) (2
) (2
) (2
) (2
)
Example 1
enableRegister = status.system5.NODE57 +
status.system5.NODE60
status.system2.enable = enableRegister
Uses constants to set bits B1 and B4 of
the system summary 5 enable register.