Section 7: Introduction to TSP commands
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
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
functions. For example,
uncertain, check the
defined function.
•
abort
•
bit
•
createconfigscript
•
endflash
•
endscript
•
flash
•
fs
•
io
•
loadscript
•
loadandrunscript
7-10
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Saving a script to nonvolatile memory
printbuffer()
(on page 8-232) is a function you can use in scripts. If you are
TSP command reference
(on page 7-8).
(on page 8-1) to verify that the string is part of a
•
login
•
logout
•
node
•
opc
•
prevflash
•
printbuffer
•
printnumber
•
scpi
•
table
•
waitcomplete
DMM7510-901-01 Rev. B / May 2015