
Section 7: Introduction to TSP operation
Model 2461 Interactive SourceMeter® Instrument Reference Manual
7-10
2461-901-01 A/November 2015
Power up script
The power up script runs automatically when the instrument is powered on. To create a power up
script, save a new script and name it
autoexec
. The
autoexec
script is automatically saved to
nonvolatile memory. See
Saving a script to nonvolatile memory
(on page 7-8).
If an
autoexec
script already exists, you must delete it by sending the
script.delete("autoexec")
command. Performing a system reset does not delete the
autoexec
script.
To set up the power up script from the front panel:
1. Press the
MENU
key.
2. Under Scripts, select
Run
.
3. Select
Copy to Power Up
. A dialog box confirms that the script was copied.
4. Select
OK
.
To save the power up script using remote commands:
Send the command:
autoexec.save()
To delete the existing
autoexec
script, send the command:
script.delete("autoexec")
Commands that cannot be used in scripts
You cannot use the following commands as variables in scripts:
There are some functions that resemble some of the strings below, but are actually defined TSP
(on page 8-93) is a function you can use in scripts. If you are
uncertain, check the
(on page 8-1) to verify that the string is part of a
defined function.
•
abort
•
login
•
bit
•
logout
•
createconfigscript
•
node
•
endflash
•
opc
•
endscript
•
prevflash
•
flash
•
printbuffer
•
fs
•
printnumber
•
io
•
scpi
•
loadscript
•
table
•
loadandrunscript
•
waitcomplete