System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-355
Details
This function erases all information regarding other nodes connected on the TSP-Link system and regenerates
the system configuration. This function must be called at least once before any remote nodes can be accessed.
If the node number for any instrument is changed, the TSP-Link must be reset again.
If expectedNodes is not given, this function generates an error if no other nodes are found on the TSP-Link
network.
If nodesFound is less than expectedNodes, an error is generated. Note that the node on which the command
is running is counted as a node. For example, giving an expected node count of 1 will not generate any errors,
even if there are no other nodes on the TSP-Link network.
Also returns the number of nodes found.
Example
nodesFound = tsplink.reset(2)
print("Nodes found = " .. nodesFound)
Perform a TSP-Link reset and indicate how
many nodes are found.
Sample output if two nodes are found:
Nodes found = 2
Sample output if fewer nodes are found and
if localnode.showerrors = 1:
1219, TSP-Link found fewer nodes
than expected
Also see
localnode.showerrors (on page 7-145)
tsplink.node (on page 7-352)
tsplink.state (on page 7-355)
tsplink.state
This attribute describes the TSP-Link online state. This attribute is not available on the Models
2604B/2614B/2634B.
Type TSP-Link accessible Affected by Where saved Default value
Usage
state = tsplink.state
TSP-Link state (online or offline)
Details
When the instrument power is first turned on, the state is offline. After tsplink.reset() is successful, the
state is online.
Example
print(state)
Read the state of the TSP-Link system. If it is online,
the output is:
Also see
tsplink.node (on page 7-352)
tsplink.reset() (on page 7-354) tsplink.reset() (on page 7-354)