Python NI-DAQmx official support

You now have an officially-supported Windows-only Python NI-DAQmx module, or a community supported Linux + Windows Python NI-DAQmx module. Both use Python ctypes to access the underlying C API and both require NI-DAQmx to be installed first. Both are Python 2/3 compatible.

  1. Install NI-DAQmx: there are three NI-DAQmx download choices

    • NI-DAQmx runtime (250 MB)
    • NI-DAQmx runtime + configuration (1.3 GB)
    • NI-DAQmx (1.9 GB)
  2. Install NI-DAQmx Python module

    nidaqmx: official NI support, Windows only

    python -m pip install nidaqmx

    PyDAQmx: support for Linux and Windows.

    python -m pip install PyDAQmx

Python NI-DAQmx for Linux and Windows

PyDAQmx is the community-supported Python program for using NI-DAQ hardware from Python in Linux and Windows.

Python official NI-DAQmx for Windows only

In March 2017, National Instruments released a Windows-only complete Python API via ctypes for NI-DAQmx.

Python NI-DAQmx examples

The nidaqmx examples are similar to those in LabVIEW, but without the enormous install and annoyance of graphical programming.

Tags: , ,


Written by Michael Hirsch, Ph.D. //