Node[N].Setglobal() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Usage
value = node[N].getglobal(name)
value
N
name
Details
Use this function to have the remote master node retrieve the value of a global variable from this node's runtime
environment.
Do not use this command to retrieve the value of a global variable from the local node (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")) Retrieves and outputs the value of the global variable
Also see
TSP advanced features

node[N].setglobal()

node[N].setglobal()
This function sets the value of a global variable.
Type
TSP-Link accessible
Function
Yes (see Details)
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
Example
node[3].setglobal("x", 5)
Also see
TSP advanced features
node[N].getglobal()
2651A-901-01 Rev. A / March 2011
The value of the variable
The node number of this instrument
The global variable name
(on page 6-53)
(on page 7-143)
Affected by
The node number of this instrument
The global variable name to set
The value to assign to the variable
®
.
(on page 6-53)
(on page 7-142)
named test_val from node 5.
Where saved
Default value
Sets the global variable x on Node 3 to the value of 5.
Section 7: Command reference
7-143

Advertisement

Table of Contents
loading

Table of Contents