2606B System SourceMeter® Instrument Reference Manual
Section 6: Instrument programming
2606B-901-01 Rev. B / May 2018
6-11
Save a script from the instrument front panel
You can save scripts from the run-time environment to nonvolatile memory or the USB port on the
instrument front panel.
If you want to save the anonymous script to nonvolatile memory, you must name it first. See
the anonymous script as a named script
(on page 6-10).
To save a script to nonvolatile memory from the front panel:
1. Select the
MENU
key.
2. Select the
SCRIPT
option.
3. Select the
SAVE
option.
A list of the scripts available to save is displayed. It may take a few seconds to display. The
displayed list is from the
script.user.scripts
table in the instrument.
4. Turn the navigation wheel to select the script that you want to save.
5. Select
INTERNAL
. Press the navigation wheel. The script is saved to nonvolatile memory using
the script's name attribute.
6. Press
EXIT (LOCAL)
several times to return to the Main Menu.
Delete user scripts
These steps remove a script from nonvolatile memory. To completely remove a script from the
instrument, there are additional steps you must take. See
Delete user scripts from the instrument
To delete a script from nonvolatile memory using a remote interface:
You can delete the script from nonvolatile memory by sending either of the following commands:
•
script.delete("
name
")
•
script.user.delete("
name
")
Where:
name
is the user-defined name of the script.
To delete a script from nonvolatile memory using TSB Embedded:
1. In TSB Embedded, select the script from the User Scripts list.
2. Click
Delete
. There is no confirmation message.
Example: Delete a user script from nonvolatile memory
script.delete("test8")
Delete a user script named
test8
from nonvolatile memory.