- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Thu, 15 May 2003 12:31:37 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 15 May 2003 09:41 am, Luc Lefebvre wrote: > Hi, > > I am using libcomedi 0.7.19-cvs and have been experimenting with streaming > input as found in demo/cmd.c. I have a NI-DAQ-Card 6062E <pcmcia> and am > running kernel 2.4.18 and Debian Woody. Running the cmd as is produces > the expected output, 1000 scans of 2048 <ie. inputs grounded>. The DAQ in > question has an 8k buffer, 1000 scans * 4 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 - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+w8785vihyNWuA4URAom0AKDG8ExNIhMykq8JraOyUkGbymfKZQCgpBYD HA24tvlH/NHzN8+PKH7NfnU= =//b+ -----END PGP SIGNATURE-----
Received on 2003-05-15Z16:31:37