
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-175
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
setup.save()
This function saves the present setup as a user-saved setup.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
setup.save(
id
)
id
An integer or string specifying where to save the user setup:
•
Save in nonvolatile memory (
1
to
5
)
•
Save as user-saved setup on a USB flash drive (
"/path/filename"
)
Summary of Contents for 2657A
Page 3: ......