
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-144
2657A-901-01 Rev. B/December 2012
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, specified by
N
. 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 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. 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 7-344)
node[N].getglobal()
This function returns the value of a global variable.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
value
= node[
N
].getglobal(
name
)
value
The value of the variable
N
The node number of this instrument
name
The global variable name
Summary of Contents for 2657A
Page 3: ......