Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-322
2461-901-01 A/November 2015
tsplink.node
This attribute defines the node number.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Nonvolatile memory
2
Usage
nodeNumber
= tsplink.node
tsplink.node =
nodeNumber
nodeNumber
The node number of the instrument or enclosure (1 to 64)
Details
This attribute sets the TSP-Link node number and saves the value in nonvolatile memory.
Changes to the node number do not take effect until
tsplink.reset()
from an earlier TSP-Link
instrument or
tsplink.initialize()
is executed on any node in the system.
Each node connected to the TSP-Link system must be assigned a different node number.
Example
tsplink.node = 3
Sets the TSP-Link node for this instrument to number 3.
Also see
(on page 8-318)
(on page 8-323)
tsplink.readport()
This function reads the TSP-Link synchronization lines as a digital I/O port.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
data
= tsplink.readport()
data
Numeric value that indicates which lines are set
Details
The binary equivalent of the returned value indicates the input pattern on the I/O port. The least
significant bit of the binary number corresponds to line 1 and the value of bit 3 corresponds to line 3.
For example, a returned value of 2 has a binary equivalent of 010. This indicates that line 2 is high
(1), and that the other two lines are low (0).