Tektronix introduces Open-Source Python-native driver package for T&M instrumentation

1 min read

Tektronix, a provider in test and measurement solutions, has introduced an open-source Python instrument driver package.

Available free of charge, the package provides a native Python user experience for instrument automation. Offering integration into daily workflows and enabling them to use their preferred Integrated Development Environment (IDE), customers will be able access auto-complete, precise type hinting, comprehensive built-in help, real-time syntax checking and enhanced debugging capabilities, providing seamless instrument automation, according to Tektronix.

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,” said 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.

By contrast, with a single-line, seconds-long installation, users will now be able to access 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 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,” explained Kuhlman. “Featuring a quick install with no prerequisites or unnecessary dependencies, rather than requiring users to install and use a maze of additional driver software and interface layers, it’s now extremely easy to get up and running.”

The driver package, called tm_devices, is available globally. For more details on the tm_devices open-source Python driver package, follow the link below.