Example Code

Instrument Examples

Find examples like 'save on trigger', 'fetch waveform data' and more, organized by instrument.

Oscilloscopes, AFGs, DAQs, DMMs, SMUs, PSUs, and more

Explore example code for working with your instrument over a remote interface.

GitHub - MP5000 Examples

GitHub - Programmatic Control Examples

Common Tasks

Explore examples of common instrument control and automation tasks.

Common Automation Tasks

Jump start with examples of connecting, configuring, and setting up measurements.

Save screenshot from oscilloscope

Connect and configure oscilloscope for acquisition

SMU Pulse Current Sweep Waveform Capture

Language Examples

Explore practical example code for instrument control and automation, organized by programming language.

Python

Explore example code using Tektronix Python packages to automate data collection and analysis. See Programmers Manuals for help documentation.

GitHub - tm_devices instrument examples

GitHub - TekHSI examples

GitHub - tm_data_types examples