Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-179
Also see
Anonymous scripts (on page 8-4)
scriptVar.autorun (on page 9-184)
scriptVar.list() (on page 9-185)
scriptVar.name (on page 9-186)
scriptVar.run() (on page 9-187)
scriptVar.save() (on page 9-188)
scriptVar.source (on page 9-189)
script.delete()
This function deletes a script from nonvolatile memory.
Usage
script.delete("scriptName")
The string that represents the name of the script
Deletes a user script named test8 from nonvolatile memory.
Also see
Delete user scripts from the instrument (on page 8-81)
scriptVar.save() (on page 9-188)
script.factory.catalog()
This function returns an iterator that can be used in a for loop to iterate over all the factory scripts.
Usage
for name in script.factory.catalog() do body end
String representing the name of the script
Code that implements the body of the for loop to process the names in the catalog
Details
Accessing this catalog of scripts allows you to process the factory scripts. The entries are
enumerated in no particular order.
Each time the body of the function executes, name takes on the name of one of the factory scripts.
The for loop repeats until all scripts have been iterated.