Keithley SourceMeter 2600 Series Reference Manual page 95

Table of Contents

Advertisement

Series 2600 System SourceMeters Reference Manual TSP Programming Fundamentals 2-43
Creating a user script
To create a script and load it, the test program (chunk) must be framed by the
following shell commands:
Load only – The following scripts will load only into the run-time environment of
the Series 2600. The script on the left is unnamed, while the one on the right is
named (where
loadscript
(chunk)
endscript
Load and run – The following scripts will load into the run-time environment and
then run. Keep in mind that when a script is run, only the chunk is executed. The
script on the left is unnamed, while the one on the right is named (where
the user-defined name):
loadandrunscript
(chunk)
endscript
Details on
loadscript
loadscript name
where:
The
loadscript
The script can be assigned a name or it can be left nameless. If assigning a name
that already exists for another loaded script, the old script will be overwritten with
the new script.
If a script is not named when it is loaded into the run-time environment, it will be
lost when another script is loaded or when the Series 2600 is turned off. After
loading the unnamed script, use the
A special
non-volatile memory, the script will automatically run after the Series 2600 is
powered on and all autorun scripts have been executed. For details, see
"Autoexec
loadandrunscript
loadsandruncript name
where:
These commands are similar to the
will execute (run) after it is loaded into the run-time environment. Also, the autorun
attribute for a named script will be set to "yes" (see "myscript.autorun" later in this
section).
loadscript
is the user-defined name):
name
loadscript name
endscript
loadandrunscript name
endscript
and
loadscript
loadandrunscript
is the user-assigned name for the script.
name
shell command loads the script into the run-time environment.
for a script is
name
script" and
"Autorun
is the user-assigned name for the script.
name
Return to
or
loadandrunscript
(chunk)
(chunk)
are provided as follows:
or
run()
script.run()
. After an autoexec script is saved in
autoexec
scripts" later in this section.
commands except that the script
loadscript
Section 2 topics
, and
endscript
command to run it.
2600S-901-01 Rev. A / May 2006
.
is
name

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents