![Keithley DMM7510 Скачать руководство пользователя страница 851](http://html2.mh-extra.com/html/keithley/dmm7510/dmm7510_reference-manual_4027507851.webp)
Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-238
DMM7510-901-01 Rev. B / May 2015
scriptVar.save()
This function saves the script to nonvolatile memory or to a USB flash drive.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
scriptVar
.save()
scriptVar
.save(
filename
)
scriptVar
The name of variable that references the script
filename
The file name to use when saving the script to a USB flash drive
Details
The
scriptVar
.save()
function saves a script to nonvolatile memory or a USB flash drive. The
root folder of the USB flash drive has the absolute path
/usb1/
.
If no
filename
is specified, the script is saved to internal nonvolatile memory. If a
filename
is
given, the script is saved to the USB flash drive.
If you set
scriptVar
to
autoexec
, the script is run when the instrument powers up. You must
delete the existing
autoexec
script before saving the new one. Note that performing a system reset
does not delete the
autoexec
script.
If no
filename
is specified (the filename parameter is an empty string), the script is saved to internal
nonvolatile memory. If a
filename
is given, the script is saved to the USB flash drive.
You can add the file extension, but it is not required. The only allowed extension is
.tsp
(see
Example 2).
Example 1
test8.save()
Saves the script referenced by the variable
test8
to nonvolatile memory.
Example 2
test8.save("/usb1/myScript.tsp")
Saves the script referenced by the variable
test8
to a file named
myScript.tsp
on your
USB flash drive.
Also see
(on page 7-5)