This GitHub repository stores working and in-progress code examples for Keithley Instruments products. The code and content here is not officially supported unless otherwise stated by a Tektronix employee. It is offered for learning and collaboration purposes.
-
Instrument Examples
Code examples sorted by instrument, including examples taken from the User's Manuals. This is a good place to start off learning about programming for an instrument. -
Application Specific Examples
Code in any language for any instrument that fulfills a specific application. These are generally more complex solutions. -
Instrument Drivers
Code that makes up a partial or complete instrument driver library for any programming language. -
KickStart Template Projects
Application specific template projects that can be loaded into Keithley KickStart software. -
TTI Apps
TSP® Apps for Touch, Test, Invent® instruments (i.e. Keithley's line of touch screen enabled instruments). These are not traditional TSP scripts.
If you don't want to clone this entire repository, it's still possible to take individual files. Navigate to the directory holding the file you want and right-click the file to select Save link as... or some variation on that depending on your browser. The file name will automatically populate and you can save the file where you'd like. Alternatively, you can open the file you want on GitHub and right-click "Raw" at the top of the file to accomplish the same thing.
If you're looking for officially supported software, we invite you to visit tek.com/software. Here are some relevant software options for controlling Keithley equipment:
- Keithley TSP Toolkit (Beta), An open source Visual Studio Code extension that facilitates communicating with TSP instruments from VS Code, adds command auto-complete and syntax checking, and provides TSP command documentation from within VS Code.
- KickStart, Instrument control and automation software for both Keithley and Tektronix products.
- Keithley Automated Characterization Suite (ACS), Advanced characterization and automation software.
- Test Script Builder, dedicated IDE for TSP code development. Consider using the Visual Studio Code extension, TSP Toolkit, instead.
- More Information on TSP, our instrument control command set and programming language
Liz Makley: Little-LIZard
Brad Odhner: Brad-O
Licensed under the Tektronix Sample License.
Please review the Contributing Guidelines.