Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-386
2600BS-901-01 Rev. C / August 2016
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
Nodes found = 1
Also see
(on page 7-383)
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
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
state
= tsplink.state
state
TSP-Link state (
online
or
offline
)