Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-120
707B-901-01 Rev. B / January 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
Function
Yes (see
Details
)
Usage
node[
N
].execute(
scriptCode
)
N
The node number of this instrument (1 to 64)
scriptCode
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
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
Using TSP to run test scripts simultaneously
(on page 7-214)
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 (1 to 64)
name
The global variable name