Skip to main content

Interface to the National Instrument PyDAQmx driver

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyDAQmx-1.2.3.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file PyDAQmx-1.2.3.tar.gz.

File metadata

  • Download URL: PyDAQmx-1.2.3.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDAQmx-1.2.3.tar.gz
Algorithm Hash digest
SHA256 b5de5cfde415501c1beb7ee8635f322260ddc820698c06470b35fd02b9ef4542
MD5 2aa1797e3620d8a09a3208c90369c90c
BLAKE2b-256 a9ac3d991938dfb6f69e3a0faf3f0379cc59bb4304175eee63a9dbe9bfee3584

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page