Re: NI-6111 and Comedi

On Tue, Jul 16, 2002 at 10:57:25AM -0700, David Schleef wrote:

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

Been there, done that. The only register that seems to change reliably
is at iobase (offset 0, this should be the Window Address - but does
that make sense?). It changes when read using ni_readw() from 0x52 to
0x8 in ni_load_channelgain_list() and from 0x53 to 0x8 in
ni_ai_insn_read() proper. Should we test for that? Others - like
Status_611x - do change at times, but it is not reliable.

Best wishes,
Rolf

-- 
Rolf Mueller, rolf.mueller_at_uni-tuebingen.de
Biosonar Lab, Tuebingen University,
Morgenstelle 28, 72076 Tuebingen
Phone +49 7071 29-74838  Fax. +49 7071 292618

Received on 2002-07-16Z18:40:20