7: TSP command reference Series 2600B System SourceMeter® Instrument
7-148 2600BS-901-01 Rev. B / May 2013
node[N].execute()
This function starts test scripts on a remote TSP-Link node. This function is not available on the Models
2604B/2614B/2634B.
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 sourcecode.
Example 2
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
TSP advanced features (on page 6-53)
tsplink.group (on page 7-351)
node[N].getglobal()
This function returns the value of a global variable. This function is not available on the Models
2604B/2614B/2634B.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
value = node[N].getglobal(name)
The value of the variable
The node number of this instrument (1 to 64)