Script.restore() - Keithley 3700A Series Reference Manual

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

Advertisement

Section 11: TSP command reference
Example
NewAuto = script.newautorun("print('Hello from new auto run command')", 'NewAuto')
print(NewAuto.autorun)
print(NewAuto.name)
Creates a new script called NewAuto that automatically has the autorun attribute set to yes after it is created.
The name is set to "NewAuto".
Output:
Hello from new auto run command
yes
NewAuto
Also see
Create a script using the script.new() command
Global variables and the script.user.scripts table
Named scripts
script.new()
(on page 11-344)
scriptVar.autorun
scriptVar.save()

script.restore()

This function restores a script that was removed from the run-time environment.
Type
TSP-Link accessible
Function
No
Usage
script.restore(name)
name
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
script.restore("test9")
Also see
script.delete()
11-346
(on page 10-4)
(on page 11-348)
(on page 11-351)
Affected by
The name of the script to be restored
(on page 11-343)
Series 3700A System Switch/Multimeter Reference Manual
(on page 10-45)
(on page 10-44)
Where saved
Restores a script named test9 from
nonvolatile memory.
Default value
3700AS-901-01 Rev. D/June 2018

Advertisement

Table of Contents
loading

Table of Contents