7: TSP command reference Series 2600B System SourceMeter® Instrument
7-180 2600BS-901-01 Rev. C / August 2016
script.restore()
This function restores a script that was removed from the run-time environment.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
script.restore(name)
The name of the script to be restored
Details
This command copies the script from nonvolatile memory into the run-time environment. It also
creates a global variable with the same name as the name of the script.
Example
Restores a script named "test9" from nonvolatile
memory.
Also see
script.delete() (on page 7-176)
script.run()
This function runs the anonymous script.
Type TSP-Link accessible
Affected by Where saved Default value
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 7-175)