Section 10: Instrument programming
Series 3700A System Switch/Multimeter Reference Manual
10-10
3700AS-901-01 Rev. D/June 2018
Save a user script
You can save scripts to nonvolatile memory using commands or TSB Embedded.
Only named scripts can be saved to nonvolatile memory. The anonymous script must be named
before it can be saved to nonvolatile memory.
If a script is not saved to nonvolatile memory, the script is lost when the instrument is turned off.
To save a script to nonvolatile memory:
1. Create and load a named script (see
(on page 10-3)).
2. Do one of the following:
▪
Send the command
scriptVar
.save()
, where
scriptVar
is the name of the script.
▪
In TSB Embedded, click
Save Script
.
Example: Save a user script to nonvolatile memory
test1.save()
Assume a script named
test1
has been loaded.
test1
is
saved into nonvolatile memory.
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.