14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-46 2470-901-01 Rev. A / May 2019
Output:
1, Watt DC, 7, Watt DC, 2, Watt DC, 8, Watt DC, 3, Watt DC, 9, Watt DC, 4, Watt DC,
10, Watt DC, 5, Watt DC, 11, Watt DC, 6, Watt DC, 12, Watt DC
Also see
buffer.make() (on page 14-12)
buffer.write.format() (on page 14-42)
Reading buffers (on page 6-1)
Writable reading buffers (on page 6-31)
createconfigscript()
This function creates a setup file that captures most of the present settings of the instrument.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
createconfigscript("scriptName")
A string that represents the name of the script that will be created
Details
This function does not automatically overwrite existing scripts with the same name. If scriptName is
set to the name of an existing script, an event message is returned. You must delete the existing
script before using the same script name. This includes the autoexec script, which runs
automatically when the instrument power is turned on. You can set scriptName to autoexec, but
you must delete the existing autoexec script first using the script.delete("autoexec")
command.
Once created, the script that contains the settings can be run and edited like any other script.
Example
createconfigscript("myConfigurationScript")
reset()
myConfigurationScript()
Capture the present settings of the
instrument into a script named
myConfigurationScript.
Reset the instrument.
Restore the settings stored in
.
Also see
Saving setups (on page 3-45)
script.delete() (on page 14-104)