PyDAQmx is a Python library that allows users to use data acquisition hardware from National Instrument with Python. It makes an interface between the NIDAQmx driver and python. It currently works only on Windows.
The package is not an open source driver from NI acquisition hardware. You first need to install the driver provided by NI
Compare to similar package, the PyDAQmx module is a full interface to the NIDAQmx ansi C driver. It imports all the functions from the driver and also imports all the predefined constants. This provided an almost one to one match between C and python code. Examples using callback functions are provided.
A more convenient Object oriented interface is provided, where the mecanism of taskHandle in C is replace with a Task object.
Detailed information about this package can be found on its main website.
You need first to install the NI DAQmx driver which is provided with your data-acquisition hardware. Please verify that you have install together with the driver the C API (which should be the case by default).
To install PyDAQmx, download the package and run the command:
python setup.py install
You can also directly move the PyDAQmx directory to a location that Python can import from (directory in which scripts using PyDAQmx are run, etc.).
What's New in This Release: [ read full changelog ]
· DAQmxAddNetworkDevice is now working