Keithley 2651A Reference Manual page 250

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 6: Instrument programming
Run scripts
This section describes how to run the anonymous and named scripts.
If the instrument is in local control when the script is started, it switches to remote control (REM is
displayed) while the script is running. The instrument is returned to local control when the script
completes. If you press the front panel EXIT (LOCAL) key while the script is running, the script is
stopped.
Run the anonymous script
The anonymous script can be run many times without reloading it. It remains in the runtime
environment until a new anonymous script is created or until the instrument is turned off.
To run the anonymous script, use any one of these commands:
run()
script.run()
script.anonymous()
script.anonymous.run()
Run a named script
Any named script that is in the runtime environment can be run using one of the following commands:
scriptVar()
scriptVar.run()
Where: scriptVar is the user-defined name of the script.
To run a named script from TSB Embedded, select the script from the User Scripts list and click Run.
When a script is named, it can be accessed using the global variable scriptVar.
Example: Run a named script
test3()
Scripts that run automatically
The autorun scripts and the autoexec script run automatically when the instrument is turned on.
6-6
Model 2651A High Power System SourceMeter® Instrument Reference Manual
NOTE
If the script test3 is loaded into the
runtime environment, the instrument
executes test3.
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents