Get Started with Test and Measurement Automation

Learn and get started with:

Python

Getting Started with Oscilloscope Automation and Python

Python is a flexible language used for instrument control and automation, and data processing. Tektronix offers Python packages that simplify and improve instrument control, data acquisition, and waveform management.

Tektronix's Python Packages

tm_devices

A device management package that enhances and simplifies instrument control by providing access to device drivers through a complete Python API.

tm_devices getting started guide 

tm_data_types

A data analysis package that simplifies the handling and conversion of waveform data, providing tools to convert CSV, WFM, and BIN format into a waveform object, add or edit waveform metadata, and write a valid waveform object to a file.

tm_data_types: Read the Docs

TekHSITM

An instrument control package that enables high-speed, low-latency data transfer from oscilloscopes to your host computer via gRPC — ideal for real-time data acquisition and analysis.

TekHSI getting started guide

Resources

Connect to an Oscilloscope Using tm_devices

Leveraging TekHSI with Python

Related Products

Oscilloscopes: 2 Series MSO, 4 Series B MSO, 6 Series Low Profile Digitizer, 6 Series B MSO, 5 Series B MSO, 5 Series MSO Low Profile, 7 Series DPO

Software: TekScope PC Analysis Oscilloscope Software

TSP

Learn the basics of TSP

How to Transition Code to TSP from SCPI

TSP is a command set and scripting language for instrument control and automation of TSP-enabled instruments including the MP5000 series and select PSUs, SMUs, Switches, DMMs, and DAQs. With it you can build custom test sequences, integrate into complex systems with ease, and take full control of your instruments.

Easy Automation

Human-readable TSP commands make scripting intuitive for both beginners and experts.

Modular & Scalable

Define custom APIs with script loading and function encapsulation for reusable, maintainable code.

Accelerated Execution

Run full test routines directly on the instrument, eliminating PC-instrument latency.

TSP Toolkit

Visual Studio code extension for developing and debugging TSP scripts.

TSP Toolkit Quick Start Guide

How to use the debugger

VS Code Marketplace: TSP Toolkit

Compatible Instruments

Featured: MP5000 Modular Precision Test System

Write test scripts for the Modular Precision Test System and integrate them into your existing code base written in Python or another programming language.

Getting Started with the MP5000 Series Modular Precision Test System and Test Automation

Accelerate Automation: Effortless Script Generation with TSP Toolkit

More Compatible Instruments

SourceMeter SMUs: 2400 Series, 2600B Series, 2650 Series

Digital multimeters: DMM7510, DMM6500

Switches: 3700A Series

DAQs: DAQ6510

C#

A modern, object-oriented language often used for managing test sequences and integrating with hardware via .NET-compatible instrument drivers.

Getting Started with Oscilloscope Automation in C#  

C++

A complicated, but high-performance language used for low-level hardware control, real-time data processing, and integration with device drivers and instrument APIs.

Getting Started with C++ for Test Automation  

TekVISA

TekVISA is the Tektronix implementation of VISA (Virtual Instrument Software Architecture). When installed, it provides communication with instruments that are connected to the PC via various communication buses.

Getting Started Controlling Instruments with VISA  

LabVIEW

LabVIEW is a graphical programming platform used to develop automated test, measurement, and control systems.

Getting Started with Test Automation in LabVIEW®  

MATLAB

MATLAB® is a high-level programming environment for numerical computing, data analysis, and algorithm development.

Use MATLAB Software with Keithley Instruments through IVI Instrument Drivers