Models 707B and 708B Switching Matrix Reference Manual
Also see
Using the web interface
localnode.execute()
This function starts test scripts on a remote node.
Type
TSP-Link accessible
Function
Yes (see Details)
Usage
node[N].execute(scriptCode)
N
scriptCode
Details
Only the master node can issue the execute command to a remote node. This function does not run test scripts
on the master node, only on a remote 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 on the local node. It is provided for the sole purpose of executing scripts on a node
from a remote master node. The localnode prefix to the function listing describes how remote commands are
shared between nodes, rather than this command being a localnode function.
Example 1
node[2].execute(sourcecode)
Example 2
node[3].execute("x = 5")
Example 3
node[32].execute(TestDut.source)
Also see
Introduction to TSP advanced features
707B-901-01 Rev. A / August 2010
(on page 2-69)
Affected by
The node number of the instrument on which to execute script
A string containing the source code
Runs script code on node 2.
Runs script code in string constant ("x = 5") to set x
equal to 5 on node 3.
Runs the test script stored in the variable
"TestDut.source" (previously stored on the master
node) on node 32.
(on page 6-49)
Where saved
Default value
Section 7: Command reference
7-127