联系我们
与泰克代表实时聊天。 工作时间:上午 9:00 - 下午 5:00(太平洋标准时间)。
致电我们
工作时间:上午9:00-下午5:00(太平洋标准时间)
下载
下载手册、产品技术资料、软件等:
反馈
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
