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

You have 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

The advantage of nidaqmx is official NI support. The advantage of PyDAQmx is the support for Linux and Windows.

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.

pip install PyDAQmx

Python official NI-DAQmx for Windows only

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

pip install nidaqmx 

Python NI-DAQmx examples

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