Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-174
707B-901-01 Rev. B / January 2015
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
statusByte = status.condition
print(statusByte)
Returns
statusByte
.
Sample output:
1.02
Converting this output (129) to its binary equivalent
yields 1000 0001
Therefore, this output indicates that the set bits of
the status byte condition register are presently B0
(MSS) and B7 (OSB).
Also see
Status byte and service request (SRQ)
status.node_enable
This attribute stores the system node enable register.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Status reset
Not saved
0
Usage
nodeEnableRegister
= status.node_enable
status.node_enable =
nodeEnableRegister
nodeEnableRegister
The status of the system node enable register; a zero (0) indicates no bits set (also
send 0 to clear all bits); other values indicate various bit settings
Details
This attribute is used to read or write to the system node enable register. Reading the system node
enable register returns a 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 B7. For
example, assume the value of
1.02
(which is 129) is returned for the system node enable
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
Assigning a value to this attribute enables one or more status events. When an enabled status event
occurs, a summary bit is set in the appropriate system summary register. The register and bit that is
set depends on the TSP-Link node number assigned to this instrument.