Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-264
2651A-901-01 Rev. A / March 2011
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
)
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
(on page 7-314)
Status byte and service request (SRQ)
status.node_event
This attribute stores the status node event register.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not saved
0
Usage
nodeEventRegister
= status.node_event
nodeEventRegister
The node event register's status. 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.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.
B7 B6 B5 B4 B3 B2 B1 B0
** > > > > > > *
1
0
0
0
0
0
0
1
* Least significant bit
** Most significant bit
The returned value can indicate one or more status events occurred.