19-214 Return to Section Topics 2600AS-901-01 Rev. B / September 2008
Section 19: Remote Commands Series 2600A System SourceMeter® Instruments Reference Manual
tsplink.reset
Function Initializes (resets) all nodes (instruments) in the TSP-Link system. Also returns the number of
nodes found.
TSP-Link
accessibility
This function cannot be accessed from a remote TSP-Link node.
Usage nodes_found = tsplink.reset()
nodes_found = tsplink.reset(expected_nodes)
expected_nodes The number of nodes expected on the system.
nodes_found The number of nodes actually on the system.
Remarks • This function will erase all knowledge of other nodes connected on the TSP-Link and will
regenerate 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 again be initialized.
• The value of expected_nodes must be a number between 1 and 64. If the expected_nodes
parameter is not given, this function will generate an error if no other nodes are found on the
TSP-Link network.
• If the actual number of nodes is less than the expected number, 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.
Details See Section 14.
Also see tsplink.node, tsplink.state
tsplink.state
Attribute TSP-Link on-line state.
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage state = tsplink.state
state Indicates the TSP-Link status.
Remarks • This attribute stores the TSP-Link status, either “online” or “offline.” The state will be
“offline” after the unit is powered on. After tsplink.reset is successful, the state will be
“online.”
• This attribute is read-only.
• State is shown as a return value.
Details See Section 14.
Also see tsplink.node, tsplink.reset
Example Reads the on-line state of the TSP-Link:
state = tsplink.state
print(state)
Output: online