From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI Products and Python

Photo containing NI hardware, a PXI system, CompactDAQ device, CompactRIO, FieldDAQ and monitor displaying TestStand with Python modules.

NI is committed to making products that work with Python. Learn more about these products and how they work with Python.

What You Can Do with NI and Python

From drivers for hardware to adapters for software, NI has invested in integrating our products with Python. Here are some of the most common ways customers use Python with NI products:

""

Acquire and Analyze Data

Engineers program measurement and analysis routines in Python. The NI-DAQmx driver supports data acquisition with NI DAQ devices.

""

Perform Validation and Production Test

Validation and production engineers automate test in Python. Modular Instrument Python Drivers enable automation and control of NI PXI instruments.

""

Develop Automated Test Systems

LabVIEW is a programming environment optimized for test and measurement. Users can develop UIs and call Python code with the Python Node.

""

Create Test Sequences with TestStand

In TestStand, NI’s test executive software, users can sequence tests from any programming language. Users call Python code with the Python Adapter.

Hardware

Photo containing NI hardware, a PXI system, CompactDAQ device, and more.

NI has developed Python wrappers for interfacing with and connecting to NI hardware. Learn more about Python compatible NI hardware in the drop downs below.

Learn more about Python compatible NI Hardware

PXI Instruments

The nimi-python repository is a collection of modules for connecting to NI PXI modular instruments that works with NI Power Supplies, Source Measuring Units, Digital Multimeters, Waveform Generators, Oscilloscopes, Switches, and Digital Pattern Instruments.

 

The nidaqmx package supports communication with NI PXI DAQ instruments.

 

CompactDAQ and PC-Based DAQ Devices

The nidaqmx package supports communication with CompactDAQ and PC-Based DAQ devices.

 

RIO Hardware

The nifpga package supports communication within NI RIO hardware. This works with NI CompactRIO, Single-Board RIO, FlexRIO, and R-Series Multifunction RIO.

 

Traditional, Benchtop Instruments

The PyVISA package supports instrument control with NI Serial, GPIB, Ethernet, PXI, USB, and C Series interfaces.

 

Get Python Resources for NI Products

NI provides an overview of our tools and how they can be used alongside Python. For each Python tool, you can access installation instructions, supported environments, API reference, and examples.