Re: faster return from read() -- buffer problem!!

Hi!

Thanks for the quick reply.
Unfortunately, that doesn't work... :-(

comedi_get_buffer_contents(comediDevice,comediSubdevice)

seems to be a second buffer that is filled by some other buffers with 1024 
bytes "from time to time". When not reading anything from the buffer, it 
increases like 0,1024,2048,3072 ...
when reading values from the buffer slowly, it decreases (of courses), but new 
data arrives to this buffer in blocks of 1024 bytes... (every 0.5 sec, 1KHz)
-- and that is too slow.
maybe it is a problem of the specific pci_das-driver implementation....
also using comedi_set_buffer_size or comedi_set_max_buffer_size did not change 
anything...

Any ideas?
Christian

-- 
Dipl.-Ing. Christian Fleischer
Technische Universität Berlin / Technical University of Berlin
Technische Informatik und Mikroelektronik / Computer Engineering and 
Microelectronics
Sekr. EN 10 - Einsteinufer 17 - 10587 Berlin - Germany
Fon:+49 (0)30 314-73114
Fax:+49 (0)30 314-21116
fleischerATcsDOTtuMINUSberlinDOTde

Received on 2004-07-20Z10:21:51