8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-90 2461-901-01 A/November 2015
node[N].execute()
This function starts test scripts on a remote TSP-Link node.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
node[N].execute(scriptCode)
The node number of this instrument (1 to 64)
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
.
Example 2
Runs script code in string constant ("x = 5") to set x
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
tsplink.group (on page 8-317)
node[N].getglobal()
This function returns the value of a global variable.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
value = node[N].getglobal(name)
The value of the variable
The node number of this instrument (1 to 64)