Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,12 @@ Also of interest
Various Python wrappers for data acquisition are available. Here are a few I know of:

* National Instruments NI-DAQ: http://sourceforge.net/projects/uncpythontools/
* National Instruments NIDAQmx: http://pythonhosted.org/PyDAQmx/
* Data Translation: `Martin Spacek`_ has indicated (personal commication) he has drivers
* Comedi apparently comes with Python wrappers: http://www.comedi.org/
* `Dr. Warren Jasper's`_ `Measurement Computing USB drivers for Linux`_ (Andrew Straw has written Python wrappers for these - contact him for further information)
* IOtech (now owned by Measurement Computing): https://github.com/fake-name/PyIOTech/
* LabJack: https://github.com/labjack/LabJackPython/

.. _Martin Spacek: http://www.ece.ualberta.ca/~mspacek/
.. _Dr. Warren Jasper's: http://www.tx.ncsu.edu/faculty_center/directory/detail.cfm?id=57
Expand Down Expand Up @@ -105,8 +108,9 @@ translation of the essentials of ulai01.c, included with `Universal
Library`_. Error checking occurs automatically through Python
exceptions.

::
.. code:: python

from __future__ import print_function
import UniversalLibrary as UL

BoardNum = 0
Expand All @@ -117,7 +121,7 @@ exceptions.
DataValue = UL.cbAIn(BoardNum, Chan, Gain)
EngUnits = UL.cbToEngUnits(BoardNum, Gain, DataValue)

print DataValue, EngUnits
print(DataValue, EngUnits)


Further examples are included, including a simple
Expand Down
Loading