Re: cmd.c example streaming oddity

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 15 May 2003 12:31 pm, Frank Mori Hess wrote:
> On Thursday 15 May 2003 09:41 am, Luc Lefebvre wrote:
> > channels = 8kbytes.  I tried cmd -N 2000 and I get 1024 scans of 65535
> > <mostly> and 0 <some>, followed by the expected 2048.  I did the same
> > for cmd -N 4000 and I get 3072 scans of the 0xffff <mostly> and 0x0000
> > <some>.  I then added "ret =
> > comedi_poll(dev, subdevice)" after line 140 <the while = 1 line....>. 
> > I recompiled cmd and ran cmd -N 4000 again, this changed the pattern
> > of 0xffff where I get three pockets of 128 scans of 0xffff <with some
> > 0x0000 sprinkled in> in the 4000 scans.
> >
> > Any ideas or suggestions as to what may be causing this and what can
> > be done about it?  Am I misunderstanding something?
> >
> > tia
>
> I answered this question yesterday, assuming you are using comedi
> 0.7.66? https://cvs.comedi.org/pipermail/comedi/2003-May/004517.html

It turns out it the analog input munging was only fixed for cards using 
dma.  It should be fixed for the pio cards (ni_atmio and ni_mio_cs) now in 
cvs.

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+xBD75vihyNWuA4URAohHAKCtmr3Eu1RB+DctlIFf5OBJ1LUPYACdEV37
+MlTboN9i2UGbjIlSklm4rs=
=ELtO
-----END PGP SIGNATURE-----

Received on 2003-05-15Z21:13:14