Node[N].Setglobal() - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual
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")) Retrieves and outputs the value of the global variable
Also see

node[N].setglobal()

TSP advanced features
node[N].setglobal()
This function sets the value of a global variable. This function is not available on the Models 2604B/2614B/2634B.
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
Example
node[3].setglobal("x", 5)
Also see
node[N].getglobal()
TSP advanced features
2600BS-901-01 Rev. B / May 2013
®
network.
(on page 7-149)
(on page 6-53)
Affected by
The node number of this instrument (1 to 64)
The global variable name to set
The value to assign to the variable
®
.
(on page 7-148)
(on page 6-53)
Section 7: TSP command reference
named test_val from node 5.
Where saved
Default value
Sets the global variable x on node 3 to the value of 5.
7-149

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents