Node[N].Getglobal(); Node[N].Setglobal() - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Section 11: 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 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
Example
print(node[5].getglobal("test_val"))
Also see

node[N].setglobal()

TSP advanced features
node[N].setglobal()
This function sets the value of a global variable.
Type
TSP-Link accessible
Function
Yes
Usage
node[N].setglobal("name", value)
N
name
value
Details
From a remote node, use this function to assign the given value to a global variable.
Do not use this command to create or set the value of a global variable from the local node (set the
global variable directly instead). This command should only be used from a remote master when
controlling this instrument over a TSP-Link
11-296
Affected by
The value of the variable
The node number of this instrument (1 to 64)
The global variable name
(on page 11-296)
(on page 10-58)
Affected by
The node number of this instrument (1 to 64)
The global variable name to set
The value to assign to the variable
Series 3700A System Switch/Multimeter Reference Manual
Where saved
®
network.
Retrieves and outputs the value of the global
variable named test_val from node 5.
Where saved
®
.
Default value
Default value
3700AS-901-01 Rev. D/June 2018

Advertisement

Table of Contents
loading

Table of Contents