Keithley 2601 Reference Manual page 89

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Series 2600 System SourceMeter® Instruments Reference Manual
The following function retrieves a script listing. The script chunk is returned, along with the shell
keywords (
myscript.list()
where:
Example:
Retrieve the listing for a saved script named "test7":
userscriptlist = test7.list()
print (userscriptlist)
Deleting a script from non-volatile memory
Replacing, changing or deleting a script from the run-time environment does not remove the script
from non-volatile memory. A script can be permanently removed from non-volatile memory using
either of the following commands:
script.delete("name")
script.user.delete("name")
where:
Example:
Delete a user script named "test8" from non-volatile 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 non-volatile memory back into the run-time
environment using either of the following commands:
script.restore("name")
script.user.restore("name")
where:
Example:
Restore a user script named "test9" from non-volatile memory:
script.restore("test9")
2600S-901-01 Rev. C / January 2008
or
loadscript
loadandrunscript
is the user-defined name of the script.
myscript
is the user-defined name of the script.
name
is the user-defined name of the script to be restored.
name
Return to
, and
endscript
Section Topics
Section 2: TSP Programming
):
2-41

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents