Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-142
2651A-901-01 Rev. A / March 2011
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 will not wait for the script to finish execution.
This function cannot be used from the local node. 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.
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 7-347)
node[N].getglobal()
This function returns the value of a global variable.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
(see
Details
)