Python NI-DAQmx official support

There is an officially-supported Windows-only Python NI-DAQmx module and 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: choose one of:

nidaqmx: official NI support, Windows only

pip install nidaqmx

PyDAQmx: support for Linux and Windows

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.

National Instruments provides Windows-only complete Python API via ctypes for NI-DAQmx.

The Python nidaqmx_examples are similar to those in LabVIEW, but with text based code.