8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Man
8-236 DMM7510-901-01 Rev. B / May 2015
script.delete()
This function deletes a script from the run-time memory and nonvolatile memory.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
script.delete(scriptName)
A string that represents the name of the script
Details
When a script is deleted, the global variable referring to this script is also deleted.
You must delete an existing script before you can use the name of that script again. Scripts are not
automatically overwritten.
Example
Deletes a user script named
from
nonvolatile memory and the global variable
named
.
Also see
Deleting a user script using a remote interface (on page 7-9)
scriptVar.save() (on page 8-238)
script.load()
This function creates a script from a specified file.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
script.load(file)
scriptVar = script.load(file)
The path and file name of the script file to load; if scriptVar is not defined,
this name is used as the global variable name for this script
The created script; a global variable with this name is used to reference the
script
Details
The named that is used for scriptVar must not already exist as a global variable. In addition, the
scriptVar name must be a global reference and not a local variable, table, or array.
For external scripts, the root folder of the USB flash drive has the absolute path /usb1/.