Electronics

Open-source Python-native driver package for test and measurement instrumentation

Tektronix, Inc, a leading provider in test and measurement solutions, today announced the introduction of an open-source Python instrument driver package. Available free of charge, the package provides a native Python user experience for instrument automation. With integration into daily workflows and utilising it with a preferred Integrated Development Environment (IDE), customers can now experience the power of auto-complete, precise type hinting, comprehensive built-in help, real-time syntax checking and enhanced debugging capabilities, resulting in unparalleled capabilities for seamless instrument automation. The open-source Python driver package is designed to work across a wide range of Tektronix and Keithley devices to facilitate ongoing development and updates, ensuring users in the test and measurement space have access to the latest features and improvements.

“Python is the largest and fastest growing language of choice among test automation engineers, and we aim to make them more productive and efficient with Pythonic development tools and code reuse,” says Rick Kuhlman, GM, Portfolio Software. “Our product’s free, open-source nature is meant to encourage collaboration and customisation. Users have the freedom to tailor the software to their specific needs, share improvements with our community and benefit from the collective knowledge and contributions of a global network of developers.” 

Automation normally involves learning and using dated string-based command APIs with shortcomings such as instrument-specific command sets, guess-and-check syntax checking and low-visibility debugging. Now, with a single-line, seconds-long installation, users get Python auto completion, type hinting and real-time syntax checking — all free and open source. The package has become an integral part of the Tektronix development pipeline and quality processes, and Tektronix is using the same powerful tools internally to ensure an additional layer of quality and scrutiny is paid to the technology on an ongoing basis. 

“We designed these drivers with simplicity in mind,” shares Kuhlman. “Featuring a quick install with no prerequisites or unnecessary dependencies. In contrast to competitors who often require users to install and use a maze of additional driver software and interface layers, it’s now extremely easy to get up and running.”