Restore A Script To The Runtime Environment; Rename A Script - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Global variables
name
beepTwoSec
beepTwoSec1200
script.user.scripts table
beepTwoSec
Note that the script.user.scripts table
entry referencing beepTwoSec was
removed and a new entry for
beepTwoSec has been added

Restore a script to the runtime environment

You can retrieve a script that was removed from the runtime environment but is still saved in
nonvolatile memory.
To restore a script from nonvolatile memory back into the runtime environment:
script.restore("scriptName")
Where: scriptName is the user-defined name of the script to be restored.
For example, to restore a user script named "test9" from nonvolatile memory:
script.restore("test9")

Rename a script

You can rename a script. You might want to rename a script if you need to name another script the
same name as the existing script. You could also rename an existing script to be the autoexecute
script.
2651A-901-01 Rev. A / March 2011
Figure 87: Change a named script with an unnamed script
value
reference to an unnamed
script
reference to script named
beepTwoSec
reference to script named
beepTwoSec
Section 6: Instrument programming
Scripts in the runtime environment
script name
beeper.enable = 1
source
beeper.beep(2, 2400)
Autorun
No
script name
beepTwoSec
beeper.enable = 1
source
beeper.beep(2, 1200)
Autorun
No
6-43

Advertisement

Table of Contents
loading

Table of Contents