Re: NI-6111 and Comedi

On Tue, Jul 16, 2002 at 09:13:54AM +0200, Rolf Mueller wrote:
> > I looked into the driver code and started experimenting with it.  The
> > timeout occurs in the function ni_ai_insn_read (in ni_mio_common.c).  It
> > appears that after the strobe to AI_CONVERT_Pulse, the ADC FIFO remains
> > empty, no matter how long we wait.
> 
> ... or at least the AILWEF flag (bit 7) in the 611x Status register
> (Offset 1) seems to indicate that the FIFO remains empty. I don't know
> where the error is.

It looks like you need to do some reverse engineering to get this
to work.  It shouldn't be hard to figure out which bit is the real
FIFO empty flag -- just dump a bunch of registers right before the
AI_CONVERT_Pulse, and 100 us after.



dave...

Received on 2002-07-16Z16:57:25