Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-148
2606B-901-01 Rev. B / May 2018
Also see
None
node[N].execute()
This function starts test scripts from a remote 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
scriptCode
A string containing the source code
Details
Only the remote master node can use the execute command to run a script on this node. This
function does not run test scripts on the master node; only on this 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.
This command should only be used from a remote master when controlling this instrument over a
TSP-Link
®
.
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 6-50)
(on page 7-355)