Section 7: TSP command reference
node[N].getglobal()
This function returns the value of a global variable.
Type
TSP-Link accessible
Function
Yes
Usage
value = node[N].getglobal("name")
value
N
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()
TSP advanced features
7-186
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Affected by
The value of the variable
The node number of this instrument (1 to 64)
The global variable name
(on page 7-187)
(on page 6-61)
Where saved
Default value
2651A-901-01 Rev. C October 2021
Need help?
Do you have a question about the Keithley 2651A and is the answer not in the manual?