EasyManua.ls Logo

Keithley 2600a series - Page 408

Keithley 2600a series
696 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
19-86 Return to Section Topics 2600AS-901-01 Rev. B / September 2008
Section 19: Remote Commands Series 2600A System SourceMeter® Instruments Reference Manual
localnode.description
Attribute User’s description of the unit.
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage description = localnode.description -- Reads user description.
localnode.description = description -- Writes user description.
description User’s description of the unit.
Remarks This attribute holds a string with the user-defined description of the unit.
This value appears on the unit’s welcome web page.
localnode.execute
Function Use this function to start test scripts on a remote node.
TSP-Link
accessibility
This function can only be accessed from a remote TSP-Link node.
Usage node[n].execute(myscript)
myscript A string containing the source code.
n The node number of the instrument on which to execute
myscript.
Remarks Only the master node can issue the execute command to a remote node.
You cannot use the execute command to run test scripts on the master node.
This function initiates an overlapped operation and will not wait for the code to execute to
completion.
This function may only be called when the node’s group number is different than the master
node’s.
Example Runs script code stored in the custom variable sourcecode:
node[n].execute(sourcecode)
Runs script code in a string constant:
node[n].execute("x = 5")
Runs a test script that was loaded into memory:
node[n].execute(myscript.source)
localnode.getglobal
Function This function returns the value of a global variable.
TSP-Link
accessibility
This function should only be accessed from a remote TSP-Link node.
Usage value = node[n].getglobal(name)
name The name of the global variable.
value The value of the global variable.
n The node number of the instrument retrieving the global
variable from its run-time environment.
Remarks 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.
Example Retrieves and outputs the value of the global variable named meas_val from node 5.
print(node[5].getglobal(“meas_val”))

Table of Contents

Related product manuals