Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-96
2470-901-01 Rev. A /
May
2019
node[N].execute()
This function starts test scripts on a remote TSP-Link node.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes (see
Details
)
Usage
node[
N
].execute("
scriptCode"
)
N
The node number of this instrument (1 to 63)
scriptCode
A string containing the source code
Details
This command is only applicable to TSP-Link systems. You can use this command to use the remote
master node to run a script on the specified node. This function does not run test scripts on the
master node; only on the subordinate node when initiated by the master node.
This function may only be called when the group number of the node is different than the node of the
master.
This function does not wait for the script to finish execution.
Example 1
node[2].execute(sourcecode)
Runs script code on node 2. The code is in a string variable
called
sourcecode
.
Example 2
node[3].execute("x = 5")
Runs script code in string constant (
"x = 5"
) to set
x
equal
to 5 on node 3.
Example 3
node[32].execute(TestDut.source)
Runs the test script stored in the variable
TestDut
(previously stored on the master node) on node 32.
Also see
(on page 14-269)