Series 2600B System SourceMeter® Instrument Reference Manual
Section 10: Instrument programming
The following figure shows an example of how to load a script named "test." The first command tells
the instrument to start collecting the messages for the script named "test." The last command marks
the end of the script. When this script is run, the message "This is a test" is displayed on the
instrument and sent to the computer.
Figure 109: Loadscript and endscript example
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
Run scripts
(on page 10-8).
To run the script immediately, use loadandrunscript scriptName instead of loadscript.
2600BS-901-01 Rev. E / January 2019
10-5
Need help?
Do you have a question about the KEITHLEY System SourceMeter 2636B and is the answer not in the manual?