
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-347
Also see
TSP-Link synchronization lines
(on page 3-86)
(on page 7-346)
tsplink.reset()
This function initializes (resets) all nodes (instruments) in the TSP-Link system.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function No
Usage
nodesFound
= tsplink.reset()
nodesFound
= tsplink.reset(
expectedNodes
)
nodesFound
The number of nodes actually found on the system
expectedNodes
The number of nodes expected on the system (1 to 64)
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-141)
(on page 7-347)
tsplink.state
This attribute describes the TSP-Link online state.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Summary of Contents for 2657A
Page 3: ......