7: TSP command reference Series 2600B System SourceMeter® Instrument
7-290 2600BS-901-01 Rev. C / August 2016
As an example, to set the B0 bit of the system node enable register, set status.node_enable =
status.MSB.
In addition to the above values, nodeEnableRegister can be set to the numeric equivalent of the
bit to set. To set more than one bit of the register, set nodeEnableRegister to the sum of their
decimal weights. For example, to set bits B0 and B7, set nodeEnableRegister to 129 (1 + 128).
Bit B7 B6 B5 B4 B3 B2 B1 B0
Weights
(2
) (2
) (2
) (2
) (2
) (2
) (2
) (2
)
Example 1
nodeEnableRegister = status.MSB + status.OSB
status.node_enable = nodeEnableRegister
Sets the MSB and OSB bits of the
system node enable register using
constants.
Example 2
-- decimal 129 = binary 10000001
nodeEnableRegister = 129
status.node_enable = nodeEnableRegister
Sets the MSB and OSB bits of the
system node enable register using a
decimal value.
Also see
status.condition (on page 7-275)
status.system.* (on page 7-347)
Status byte and service request (SRQ) (on page E-15)
status.node_event
This attribute stores the status node event register.
Type TSP-Link accessible Affected by Where saved Default value
Usage
nodeEventRegister = status.node_event
The status of the node event register; a zero (0) indicates no bits set; other values
indicate various bit settings
Details
This attribute is used to read the status node event register, which is returned as a numeric value
(reading this register returns a value). The binary equivalent of the value of this attribute indicates
which register bits are set. In the binary equivalent, the least significant bit is bit B0, and the most
significant bit is bit B7. For example, if a value of 1.29000e+02 (which is 129) is read as the value of
this register, the binary equivalent is 1000 0001. This value indicates that bit B0 and bit B7 are set.