Model 2606B System SourceMeter® Instrument Reference Manual
scriptVar.list()
This function generates a script listing.
Type
TSP-Link accessible
Function
No
Usage
scriptVar.list()
scriptVar
Details
This function generates output in the form of a sequence of response messages (one message for
each line of the script). It also generates output of the script control messages (loadscript or
loadandrunscript and endscript).
Example
test7 = script.new("display.clear() display.settext('Hello from my test')",
"test7")
test7()
test7.save()
test7.list()
The above example code creates a script named test7 that displays text on the virtual front panel and lists the
script with the following output:
loadscript test7
display.clear() display.settext("Hello from my test")
endscript
Also see
Load a script by sending commands over the remote interface
Retrieve source code one line at a time
scriptVar.name
This attribute contains the name of a script in the runtime environment.
Type
TSP-Link accessible
Attribute (RW)
No
Usage
scriptVar.name = "scriptName"
scriptName = scriptVar.name
scriptVar
scriptName
2606B-901-01 Rev. C November 2021
Affected by
Where saved
The name of the variable that references the script
(on page 14-48)
Affected by
Where saved
Not applicable
Not applicable
Name of the variable that references the script
A string that represents the name of the script
Section 15: TSP command reference
Default value
(on page 14-4)
Default value
Not applicable
15-185
Need help?
Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?