Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-343
Also see
Anonymous scripts (on page 10-3)
scriptVar.autorun (on page 11-348)
scriptVar.list() (on page 11-348)
scriptVar.name (on page 11-349)
scriptVar.run() (on page 11-350)
scriptVar.save() (on page 11-351)
scriptVar.source (on page 11-351)
script.delete()
This function deletes a script from nonvolatile memory.
Usage
script.delete("scriptName")
The string that represents the name of the script
Deletes a user script named "test8" from
nonvolatile memory.
Also see
Delete user scripts from the instrument (on page 10-49)
scriptVar.save() (on page 11-351)
script.load()
This function creates a script from a specified file.
Usage
scriptVar = script.load("file")
scriptVar = script.load("file", "name")
The created script; this is nil if an error is encountered
The path and file name of the script file to load
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.