Models 707B and 708B Switching Matrix Reference Manual
Section 7: TSP command reference
707B-901-01 Rev. B / January 2015
7-121
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
®
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
(on page 7-126)
Using TSP to run test scripts simultaneously
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 of the local node. For example:
707B
Also see
(on page 7-126)
localnode.password
This attribute stores the remote access password.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (W)
Yes
LAN reset
Nonvolatile memory
"admin"
Usage
localnode.password = "
password"
passWord
A string that contains the remote interface password
Details
This write-only attribute stores the password that is set for any remote interface. When password
usage is enabled (
localnode.passwordmode
), you must supply a password to change the
configuration or to control an instrument from a web page or other remote command interface.