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.
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)
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
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
are similar to those in LabVIEW, but without the enormous install and annoyance of graphical programming.