Section 8: TSP command reference Model 2461 Interactive SourceMeter® Instrument Reference Manual8-322 2461-901-01 A/November 2015tsplink.nodeThis attribute defines the node number.Type TSP-Link accessible Affected by Where saved Default valueAttribute (RW) Yes Not applicable Nonvolatile memory 2UsagenodeNumber = tsplink.nodetsplink.node = nodeNumbernodeNumber The node number of the instrument or enclosure (1 to 64)DetailsThis 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-Linkinstrument 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.Exampletsplink.node = 3 Sets the TSP-Link node for this instrument to number 3.Also seetsplink.initialize() (on page 8-318)tsplink.state (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 valueFunction YesUsagedata = tsplink.readport()data Numeric value that indicates which lines are setDetailsThe binary equivalent of the returned value indicates the input pattern on the I/O port. The leastsignificant 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).