EasyManua.ls Logo

Tektronix KEITHLEY 2600B Series

Tektronix KEITHLEY 2600B Series
834 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...
Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-187
Example
test7 = script.new("display.clear() display.settext('Hello from my test')", "")
test7()
print(test7.name)
test7.name = "test7"
print(test7.name)
test7.save()
This example calls the script.new() function to create a script with no name, runs the script, names the
script test7, and then saves the script in nonvolatile memory.
Also see
Rename a script (on page 8-78)
script.new() (on page 9-181)
scriptVar.save() (on page 9-188)
scriptVar.run()
This function runs a script.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
scriptVar.run()
scriptVar()
scriptVar
The name of the variable that references the script
Details
The scriptVar.run() function runs the script referenced by scriptVar. You can also run the
script by using scriptVar().
To run a factory script, use script.factory.scripts.scriptName(), replacing scriptName
with the name of the factory script.
Example
test8.run()
Runs the script referenced by the variable test8.
Also see
None

Table of Contents

Related product manuals