Keithley 3700 series Reference Manual page 41

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
NOTE A modified user script can be loaded back into the Series 3700 using the same name or a
The following command returns a catalog listing of the user scripts stored in the Series 3700:
script.user.catalog()
Example: Retrieve the catalog listing for user scripts:
name in script.user.catalog() do
print (name)
end
The following function retrieves a script listing. The script chunk is returned, along with the shell
keywords (loadscript or loadandrunscript, and endscript):
myscript.list()
Where: myscript is the user-defined name of the script.
Example: Retrieve the listing for a saved script named ―test7‖:
userscriptlist = test7.list()
print (userscriptlist)
Deleting a script from nonvolatile memory
Replacing, changing or deleting a script from the run-time environment does not remove the
script from nonvolatile memory. A script can be permanently removed from nonvolatile memory
using either of the following commands:
script.delete("name")
script.user.delete("name")
Where: name is the user-defined name of the script.
Example: Delete a user script named ―test8‖ from nonvolatile memory:
script.delete("test8")
Restoring a script in the run-time environment
A script is inherently a global variable and can be replaced by assigning a new value or by
loading a new script with the same name. It can also be removed from the run-time environment
by assigning it the nil value. A script can be restored from nonvolatile memory back into the run-
time environment using either of the following commands:
script.restore("name")
Document Number: 3700S-901-01 Rev. A / August 2007
new name.
Section 2: TSP Programming Fundamentals
2-21

Advertisement

Table of Contents
loading

Table of Contents