Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-423
Also see
TSP-Link trigger lines (on page 2-32)
tsplink.readbit() (on page 11-422)
tsplink.writebit() (on page 11-432)
tsplink.writeport() (on page 11-432)
tsplink.writeport() (on page 11-432)
tsplink.reset()
This function initializes (resets) all nodes (instruments) in the TSP-Link system.
Usage
nodesFound = tsplink.reset()
nodesFound = tsplink.reset(expectedNodes)
The number of nodes actually found on the system
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
localnode.showerrors (on page 11-291)
tsplink.node (on page 11-421)
tsplink.state (on page 11-424)