Contactez-nous
Chat en direct avec un représentant Tek. Service disponible de 9 h à 17 h, CET jours ouvrables.
Appelez-nous au
Disponible de 9 h à 17 h CET jours ouvrables.
Télécharger
Télécharger des manuels, des fiches techniques, des logiciels, etc. :
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
