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 3 compatible.

There are three NI-DAQmx download choices, pick one that suits your needs:

  • NI-DAQmx runtime (250 MB)
  • NI-DAQmx runtime + configuration (1.3 GB)
  • NI-DAQmx (1.9 GB)

Python NI-DAQmx

Pick one of these two choices:

  • 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.

Examples

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