Skip to main content

Overview

This package 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.

Installation

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.)

Contact

Please send bug reports or feedback to Pierre Cladé.

Version history

Main changes:

  • 1.4.2 Proper version string

  • 1.4.1 NIDAQmx Base supported on 64bits linux

  • 1.4 Many small improvements

  • 1.3.2 bug fix

  • 1.3.1 With python 3, strings (unicode) can be use as arguments

  • 1.3 PyDAQmx supports both the NIDAQmx and NIDAQmxBase drivers

  • 1.2.5.2 Bug in version 1.2.5 corrected (Task were not working)

  • 1.2.5.1 Add keywords to all the functions (version 1.2.5 is not working with python 3)

  • 1.2.4 NIDAQmx functions of the 2011 et 2012 NIDAQmx are imported properly

  • 1.2.3 DAQmxAddNetworkDevice is now working

  • 1.2.2 The package is working with python 3 using 2to3

  • 1.2.1 Add doc string to the DAQmxFunctions

  • 1.2 Support of callback function

  • 1.1 Add linux support

Version 1.4

Improvements are the following :

  • Each error has a specificc subclass

  • Constants can be loaded without the prefix : PyDAQmx.Val_Cfg_Default

  • Throw warnings as warnings

  • Improve unittest.

Version 2

A new version of PyDAQmx will is in the dev2 branch on github. PyDAQmx will follow the pep8 naming convention (and will be called pydaqmx). A legacy mode will still be available.

Metadata

Release files for PyDAQmx 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyDAQmx 1.4.2
File Size Uploaded
PyDAQmx-1.4.2.tar.gz 14.4 kB Details

Release files / PyDAQmx-1.4.2.tar.gz

Download URL PyDAQmx-1.4.2.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9d4594d3c065e7625f6846f330822f856b2fd4d0ad6a6b9a6e4fe8f3e155279f
BLAKE2b-256 checksum
How to use checksums
f8c1ea50dfc3f6c955d0d889563215e36e2db9808eabbe41c48292ac73f3153f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/20.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

Release history Release notifications | RSS feed

1.4.7

1 release file

1.4.6

1 release file

1.4.5

1 release file

1.4.4

1 release file

1.4.3

1 release file

This release

1.4.2 This release

1 release file

1.4.1

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3

1 release file

1.2.5.2

1 release file

1.2.5.1

1 release file

1.2.5

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page