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. -
TSP 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.
Keithley Instruments Factory Applications Engineers:
Josh Brown: jbrown1234
Brad Odhner: Brad-O
Licensed under the Tektronix Sample License.
First, please consult the Tektronix Code of Conduct. Contributions in the form of new examples or bug fixes are welcome! Just submit a pull request with your changes against the dev
branch. If you see something you're not sure is a bug, or if you'd like to request an example, please submit an Issue via GitHub.
If you'd like help from a Keithley engineer in developing an example, please submit a pull request with what you have so far placed in the proper part of the repository, including any new directories your example may need.
Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as part of the project.
You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again.