Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference3700AS-901-01 Rev. D/June 2018 11-423Also seeTSP-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.Type TSP-Link accessible Affected by Where saved Default valueFunction NoUsagenodesFound = tsplink.reset()nodesFound = tsplink.reset(expectedNodes)nodesFound The number of nodes actually found on the systemexpectedNodes The number of nodes expected on the system (1 to 64)DetailsThis function erases all information regarding other nodes connected on the TSP-Link system andregenerates the system configuration. This function must be called at least once before any remotenodes can be accessed. If the node number for any instrument is changed, the TSP-Link must bereset again.If expectedNodes is not given, this function generates an error if no other nodes are found on theTSP-Link network.If nodesFound is less than expectedNodes, an error is generated. Note that the node on which thecommand is running is counted as a node. For example, giving an expected node count of 1 will notgenerate any errors, even if there are no other nodes on the TSP-Link network.Also returns the number of nodes found.ExamplenodesFound = tsplink.reset(2)print("Nodes found = " .. nodesFound)Perform a TSP-Link reset and indicate howmany nodes are found.Sample output if two nodes are found:Nodes found = 2Sample output if fewer nodes are found andif localnode.showerrors = 1:1219, TSP-Link found fewer nodesthan expectedNodes found = 1Also seelocalnode.showerrors (on page 11-291)tsplink.node (on page 11-421)tsplink.state (on page 11-424)