System SourceMeter® Instrument Reference Manual Section 7: TSP command ref
2600BS-901-01 Rev. C / August 2016 7-195
Example 2
setup.recall("/usb1/KEITHLEY_30730.set")
Recall a user-saved setup stored in a file
named KEITHLEY_30730 on a USB flash
Also see
setup.save() (on page 7-195)
Saved setups (on page 2-47)
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)
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")
Details
When the id parameter is an integer (n), it is interpreted as the setup number to save to the
instrument's nonvolatile memory.
When you save to a specified integer (1 to 5) in nonvolatile memory, the previous setup at that same
location is overwritten.
When the id parameter is a string, it is interpreted as the path and file name of the location to save
the present setup on a USB flash drive. The path may be absolute or relative to the current working
directory.
Example
Saves the present setup to the internal memory of
the instrument at location 5.
Also see
Saved setups (on page 2-47)
setup.recall() (on page 7-194)