
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-343
Also see
(on page 10-3)
(on page 11-348)
(on page 11-348)
(on page 11-349)
(on page 11-350)
(on page 11-351)
(on page 11-351)
script.delete()
This function deletes a script from nonvolatile memory.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
script.delete("
scriptName
")
scriptName
The string that represents the name of the script
Example
script.delete("test8")
Deletes a user script named "
test8
" from
nonvolatile memory.
Also see
Delete user scripts from the instrument
(on page 10-49)
(on page 11-351)
script.load()
This function creates a script from a specified file.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
scriptVar
= script.load("
file
")
scriptVar
= script.load("
file
", "
name
")
scriptVar
The created script; this is
nil
if an error is encountered
file
The path and file name of the script file to load
name
The name of the script to be created
Details
The file path may be absolute or relative to the current working directory. The root folder of the USB
flash drive has the absolute path
"/usb1/"
. Both the forward slash (/) and backslash (\) are
supported as directory separators.
The file to be loaded must start with the
loadscript
or
loadandrunscript
keywords, contain the
body of the script, and end with the
endscript
keyword.