Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-347
script.run()
This function runs the anonymous script.
Usage
script.run()
run()
Details
Each time the script.run() command is given, the anonymous script is executed. This script can
be run using this command many times without having to re-send it.
Example
Runs the anonymous script.
Also see
script.anonymous (on page 11-342)
script.user.catalog()
This function returns an iterator that can be used in a for loop to iterate over all the scripts stored in nonvolatile
memory.
Usage
for name in script.user.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
This function accesses the catalog of scripts stored in nonvolatile memory, which allows you to
process all scripts in nonvolatile memory. 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 scripts stored in
nonvolatile memory. The for loop repeats until all scripts have been iterated.
Example
for name in script.user.catalog() do
print(name)
end
Retrieve the catalog listing for user scripts.