7½ Digit Graphical Sampling Multimeter Reference Manual Section 8:
DMM7510-901-01 Rev. B / May 2015 8-229
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
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
tsplink.group (on page 8-346)
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)
Details
This function retrieves the value of a global variable from the run-time environment of this node.
Do not use this command to retrieve the value of a global variable from the local node. Instead,
access the global variable directly. This command should only be used from a remote master when
controlling this instrument over a TSP-Link
®
network.
Example
print(node[5].getglobal("test_val"))
Retrieves and outputs the value of the global variable
named test_val from node 5.
Also see
node[N].setglobal() (on page 8-230)