Series 2600B System SourceMeter® Instrument Reference Manual
script.delete()
This function deletes a script from nonvolatile memory.
Type
TSP-Link accessible
Function
No
Usage
script.delete("scriptName")
scriptName
Example
script.delete("test8")
Also see
Delete user scripts from the instrument
scriptVar.save()
script.factory.catalog()
This function returns an iterator that can be used in a for loop to iterate over all the factory scripts.
Type
TSP-Link accessible
Function
Yes
Usage
for name in script.factory.catalog() do body end
name
body
Details
Accessing this catalog of scripts allows you to process the factory scripts. The entries will be
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.
Example
for name in script.factory.catalog() do
print(name)
end
Also see
None
2600BS-901-01 Rev. E / January 2019
Affected by
The string that represents the name of the script
(on page 10-51)
(on page 11-184)
Affected by
String representing the name of the script
Code that implements the body of the for loop to process the names in the catalog
Section 11: TSP command reference
Where saved
Default value
Deletes a user script named "test8" from
nonvolatile memory.
Where saved
Default value
Retrieve the catalog listing for factory scripts.
11-175
Need help?
Do you have a question about the KEITHLEY System SourceMeter 2636B and is the answer not in the manual?