Keithley 2601B Reference Manual page 282

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual
To load a named script by sending commands:
1. Send the command loadscript scriptName, where scriptName is the name of the script.
The name must be a legal Lua variable name.
2. Send the commands that need to be included in the script.
3. Send the command endscript.
4. You can now run the script. See
To run the script immediately, use loadandrunscript scriptName instead of loadscript.
Create a script using TSB Embedded
If you are using TSB Embedded to create scripts, you do not need to use the commands
loadscript or loadandrunscript and endscript.
You can create a script from the instrument web page with TSB Embedded. When you save the script
in TSB Embedded, it is loaded into the run-time environment and saved in the nonvolatile memory of
the instrument. For information about using TSB Embedded, select the Help button on a web page or
the Help option from the navigation pane on the left side of the web interface.
To create a script using TSB Embedded:
1. In the TSP Script box, enter a name for the script.
2. In the input area, enter the sequence of commands to be included in the script.
3. Click Save Script. The name is added to the User Scripts list on the left.
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 run-time
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()
2600BS-901-01 Rev. B / May 2013
Run scripts
(on page 6-5).
Section 6: Instrument programming
6-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents