2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-173
To save a script that is used when the instrument is powered on, you can create a configuration script
and name it
autoexec
.
Example
setup.poweron = 0
Set the instrument to use the factory default setup
when power is turned on.
Also see
Start-up (power-on) configuration
(on page 2-54)
setup.recall()
This function recalls settings from a saved setup.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
setup.recall(
id
)
id
An integer or string that specifies the location of the setup to recall:
Factory default setup:
0
User-saved setup in nonvolatile memory:
1
to
5
User-saved setup on a USB flash drive:
"/
path/filename
"
Details
When the
id
parameter is an integer (
n
), it is interpreted as the setup number to restore from the
instrument's nonvolatile memory. When
n
= 0, the instrument recalls the factory default setup; when
n
= 1 to 5, the instrument recalls a user-saved setup.
When the
id
parameter is a string, it is interpreted as the path and file name of the setup to restore
from a file on a USB flash drive. The path may be absolute or relative to the current working directory.
Before a setup is recalled, an instrument reset is performed.
Example 1
setup.recall(1)
Recall the user-saved setup at location 1.
Example 2
setup.recall("/usb1/KEITHLEY_30730.set")
Recall a user-saved setup stored in a file
named
KEITHLEY_30730
on a USB flash
drive.
Also see
(on page 2-52)