Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-175
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 status 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 node enable register's status in decimal form. A zero (0) indicates no bits set
(also send 0 to clear all bits). Other decimal values indicate various bit settings.
Details
Although the status logical instrument reset affects these attributes, a system reset does not.
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, if a value of
1.02
(which is
129) is read as the value of the node enable register, the binary equivalent is
10000001
. This value indicates
that bit B0 and bit B7 are set.
B7
B6
B5 B4 B3 B2 B1
B0
Most
significant
bit
>
> > > > >
Least
significant
bit
1
0
0
0
0
0
0
1
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.
The individual bits of the status byte node enable register can be set using constants (for example, to set the
enable bit of the standard event status register to B0, set
status.node_enable = status.MSB)
. The
following table contains descriptions of the bits and available values:
Bit Value
Description
B0
status.MEASUREMENT_SUMMARY_BIT
status.MSB
Set summary bit indicates that an enabled measurement
event has occurred.
Bit 0 decimal value: 1
B1
Not used
Not applicable.