EasyManua.ls Logo

Tektronix Keithley 2601B-PULSE - node[N].getglobal()

Tektronix Keithley 2601B-PULSE
849 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 11: TSP command reference
2601B-PULSE-901-01A April 2020 11-149
This function does not wait for the script to finish execution.
This command should only be used from a remote master when controlling this instrument over a
TSP-Link
®
.
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
TSP advanced features (on page 10-51)
tsplink.group (on page 11-365)
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
Details
This function retrieves the value of a global variable from the runtime 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 11-150)
TSP advanced features (on page 10-51)

Table of Contents

Other manuals for Tektronix Keithley 2601B-PULSE

Related product manuals