Contact us
Call us at
Available 6:00 AM – 5:00 PM (PST) Business Days
Download
Download Manuals, Datasheets, Software and more:
Feedback
One Click Python Wrapper Creation with TSP Toolkit
One Click Python Wrapper Creation with TSP Toolkit
TSP Toolkit Python Interoperability gives engineers a straightforward way to combine existing Python automation with the speed, synchronization, and reduced communication overhead of on-instrument Test Script Processor (TSP™) execution.
With a single click, TSP Toolkit generates a Python wrapper for an open .tsp file. The wrapper loads the TSP script onto the instrument and exposes its public functions and supported global variables to the Python application. Python remains in control of system-level automation and data handling, while timing-critical test execution runs locally on the instrument.
This application note:
- Explains how Python and TSP work together in automated test systems
- Shows how to generate a Python wrapper from a TSP script in TSP Toolkit
- Describes how TSP functions and variables are exposed as Python methods, getters, and setters
- Provides best practices for structuring TSP scripts for Python interoperability
- Walks through a current-sweep example for the MP5000 Series Modular Precision Test System
