12-110 Return to Section Topics 2600S-901-01 Rev. C / January 2008
Section 12: Instrument Control Library Series 2600 System SourceMeter® Instruments Reference Manual
tsplink function and attributes
Use the function and attributes in this section to assign node numbers to the Series 2600
instruments and initialize the TSP-Link system.
Details See “Triggering” in Section 10.
Also see trigger.clear
Example Waits up to 10 seconds for a trigger:
triggered = trigger.wait(10)
print(triggered)
Output: false
The above output indicates that no trigger was detected during the 10 second timeout.
tsplink.group
Attribute Stores the group number assigned to the node.
Usage groupnumber = tsplink.group
tsplink.group = groupnumber
groupnumber The TSP-Link group number.
Remarks • The default group number is 0.
• Set the attribute value to 0 to remove the node from all groups.
• Each time the node powers off, the group number for that node changes to 0.
• Group numbers can range from 0 to 64.
tsplink.master
Attribute Reads the node number assigned to the master node.
Usage master = tsplink.master
master A custom variable that stores the master node
number.
Remarks A read-only attribute.
tsplink.node
Attribute Use this attribute to set the node number. Choose a number from 1 to 64.
Usage mynode = tsplink.node
Reads the node number.
tsplink.node = mynode Writes the node number.
mynode Sets the node number. Choose from 1 to 64.
Remarks • This attribute sets the TSP-Link node number and saves the value in nonvolatile memory.
• Changes to the node number does not take effect until the next time tsplink.reset is
executed on any node in the system.
• Each node connected to the TSP-Link must be assigned a different node number.
• 16 nodes is the maximum number of nodes allowed
Details See Section 9 System expansion.
Also see tsplink.reset, tsplink.state
Example --Sets the TSP-Link node to number 2:
tsplink.node = 2