[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] NI PCI-MIO-16XE-10 - Code?



On Mon, 15 Jun 1998, Kenneth Jacker wrote:

> I am considering using RT-Linux and National Instruments'
> PCI-MIO-16XE-10 (100kS/s, 16-bit ADC/DAC, DIO) board.
>  o Does anyone know of code (interrupt handler, driver, RT application
> 	functions) supporting this board?
> 
>  o If not, would it be that difficult to write (given the fact
> 	that the AT-MIO-16E-10 is in use)? 

This will be only partial answer. I have just found some example source code
for PCI-MIO-E series at
ftp://ftp.natinst.com/support/daq/pc/reg-level/dos/PCI-ESer.zip (read first
ftp://ftp.natinst.com/support/daq/pc/reg-level/00LICENS.txt - it seems more
suitable for upgrades of their binary drivers and libraries)

I it looks quite good, there is a library of functions and then some short
example programs, everything in C. I have already ported most of it to
Linux, I just need to get the ordered PCI-MIO-16E-1 to check it. But it is
nice that there are no unresolved functions. I am working on aiex4.c (analog
input with DMA transfer to 2 buffers). Main thing which is not in the
examples is how to use interrupts. But I have also got 341079A.pdf (PCI E
Series Register-Level Programmer Manual; preliminary, Jan 1998, PN.
341079A-01) from Swiss NI representative. Has 123 pages, looks quite
relevant, but for many details one needs other sources. DMA is covered nicely
in PCI-ESer.zip, interrupts should be in "DAQ-STC Technical Reference Manual"
(ftp://ftp.natinst.com/support/daq/manuals/340934a.pdf)(448pgs!). That
documents are on the Internet only since March or even June 1998. NI is
becoming more open!

Before I start distributing anything, I need to ask NI what are conditions of
use for their example sources. And of course I can not predict how much time
will it take to really get it running. I am trying to change that sources as
little as possible, so they may be still compilled under DOS.

PCI-MIO-16XE-10 is mentioned in some of the example files, so it may work.


Best regards,
--
Tomasz Motylewski

--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/