nidaq.zip contains a minimal interface for National Instruments data
acquision cards under NT/Win95. It is VERY minimalist, but some might
find it useful. The zip is nidaq.zip and contains the c source, the
dll and some simple wrapper classes. The README files contain a
little documentation.
This little dll gives me just enough access to the
National Instruments Data Acquisition boards to do the
things I want.
It exports three functions:
* ai_vread - an interface to AI_VRead
* dig_port_config - an interface to DIG_Prt_Config
* dig_out_port - an interface to DIG_Out_Port
There is a little wrapper (atod.py) that organises the
channel numbers / names in a dictionary.
It's VERY simple, and VERY incomplete, but it does the
job for us...
Offered under GNU Public License in the hope that it will
be useful, but NO GUARANTEES THAT IT WILL WORK FOR YOU.
I've included the c code for the extensions so that
a) people can laugh at my coding
b) people can extend the module as they need.
cheers
Chris Wright <
[email protected]>