![Keithley 707B Скачать руководство пользователя страница 381](http://html.mh-extra.com/html/keithley/707b/707b_reference-manual_661685381.webp)
Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-128
707B-901-01 Rev. A / August 2010
localnode.getglobal()
This function returns the value of a global variable.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
(see
Details
)
Usage
value = node[N].getglobal(name)
value
The value of the variable
N
The node number of the instrument retrieving the global variable from its runtime
environment
name
The global variable name
Details
Use this function to retrieve the value of a global variable from a remote node.
Do not use this command to retrieve the value of a global variable from the local node. It is provided for the sole
purpose of accessing global variables on a node from a remote master node. The
localnode
prefix to the
function listing describes how remote commands are shared between nodes, rather than this command being a
localnode command.
Example
print(node[5].getglobal("test_val"))
Retrieves and outputs the value of the global variable
named
test_val
from Node 5.
Also see
Introduction to TSP advanced features
(on page 6-49)
(on page 7-133)
localnode.model
This attribute stores the model number.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
model = localnode.model
model
The model number of the instrument
Example
print(localnode.model)
Outputs the model number.
Also see