faster return from read()

Hello!

I've comedi v0.7.68, comedilib 0.7.21 and wonder about something when I use 
the "cmd.c" test-program:

When I set the number of samples to deliver to 4000, the frequency to 1000 and 
the number of channels to 1, the read command always waits for 1024 bytes.
Is it possible to make this queue smaller, so that the read command returns 
faster with less bytes?
The command line for the test-program is:
cmd -N 4000 -F 1000 -n 1 -v

Is there any other option for a comedi command to specify how long this 
internal buffer is?

Thanks a lot,
Christian




-- 
Dipl.-Ing. Christian Fleischer
Technical University of Berlin
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-16Z13:40:52