![background image](http://html1.mh-extra.com/html/keithley/sourcemeter-2600-series/sourcemeter-2600-series_reference-manual_4098633096.webp)
2-44 TSP Programming Fundamentals
Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006
Return to
Saving a user script
A created and loaded script does not have to be saved in non-volatile memory of
the Series 2600 before it can be run. However, an unsaved script will be lost when
the Series 2600 is turned off.
Saving a named script
Only a named script can be saved in non-volatile memory of the Series 2600. After
creating and loading a named script, use one of the following commands to save it.
myscript.save
()
myscript.save
("name")
where:
myscript
is the user-defined name of the script.
name
is a new name for the script that is assigned by the user. Using this
function is equivalent to the “Save As” file menu item in the Test Script
Builder.
Either of the above save commands will save the script in non-volatile memory. If a
script is not saved in non-volatile memory, the script will be lost when the Series
2600 is turned off.
The
myscript.save()
command saves the script under the name that it was
originally created and loaded. The
myscript.save("name")
shell command is
used to save the script under a different name. If you save the script to a name
that already exists in non-volatile memory, it will be overwritten.
Examples:
1. Assume a script named “test1” has been created and loaded. The following
command saves the script in non-volatile memory:
test1.save()
2. To save the script named “test1” under a new name (“test2”) in non-volatile
memory, send the following command:
test1.save(test2)
Running a user script
Running an unnamed script
There can only be one unnamed script in the run-time environment. If another
unnamed script is created and loaded, the previous unnamed script will be
removed from the run-time environment. Use one of the following commands to
execute the chunk of the last loaded unnamed script. Both commands perform the
same operation.
run
()
script.run
()
Содержание SourceMeter 2600 Series
Страница 507: ...AppendixA Specifications Appendix A topics Model 2600S Specifications page A 2 2600S 901 01 Rev A May 2006...
Страница 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Страница 592: ......
Страница 593: ......