Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Section 8: TSP command reference
DMM7510-901-01 Rev. B / May 2015
8-347
tsplink.initialize()
This function initializes all instruments and enclosures in the TSP-Link system.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
nodesFound
= tsplink.initialize()
tsplink.initialize()
tsplink.initialize(
expectedNodes
)
nodesFound
The number of nodes actually found on the system, including the node on which
the command is running
expectedNodes
The number of nodes expected on the system (1 to 32)
Details
This function regenerates the system configuration information regarding the nodes connected to the
TSP-Link system. You must initialize the system after making configuration changes. You need to
initialize the system after you:
•
Turn off power or reboot any instrument in the system
•
Change node numbers on any instrument in the system
•
Rearrange or disconnect the TSP-Link cable connections between instruments
If the only node on the TSP-Link network is the one running the command and
expectedNodes
is
not provided, this function generates an error event. If you set
expectedNodes
to 1, the node is
initialized.
If you include
expectedNodes
, if
nodesFound
is less than
expectedNodes
, an error event is
generated.
Example
nodesFound = tsplink.initialize(2)
print("Nodes found = " .. nodesFound)
Perform a TSP-Link initialization and indicate how many
nodes are found.
Example output if two nodes are found:
Nodes found = 2
Example output if fewer nodes are found and if
localnode.showevents = 7
:
1219, TSP-Link found fewer nodes than
expected
Nodes found = 1
Also see
(on page 8-227)
(on page 8-351)
(on page 8-352)