Interface for the National Instruments boards NI USB 6008 and NI USB 6009 using the official driver and the PyDAQmx python 2.7 implementation
In order to successfully run the contents of this package the following requirements must be met:
- Python 2.7
- NIDAQmx driver (only tested on the windows version)
- PyDAQmx package (available in the PyDAQmx-1.3.1 directory of this repository or at http://pythonhosted.org/PyDAQmx/ or at the package's official github repository page https://github.com/clade/PyDAQmx)
PyDAQmx (source)
Manual mode:
- Download the PyDAQmx package
- Unpack it
python setup.py install
Or via pip:
pip install PyDAQmx
The package is written for Python 2. Is is compatible with Python 3 using 2to3. To build and install the package with Python 3
python setup.py build
python setup.py install
If you want to run PyDAQmx without installing it, run the python setup.py build command and switch to the build/lib directory.
- Download and install the NIDAQmx driver
- Not supported yet
A reader and actuator examples are presented in the daqmxinterface
directory of this repository. Please see daqmxinterface/actuator_example.py
and daqmxinterface/reader_example.py
A Pyro4 client application example is presented in the daqmxinterface
directory of this repository. Please see daqmxinterface/Client.py