On Mon, 16 Nov 1998, Dan Reznik wrote:

> after i stop an rt-process with rt_suspend, how can i clear the FIFO
> queues used by the rt-process (so next time i start the process with
> rt_make_periodic) i am sure not to read() any packets from theprevious
> batch???
>
> please answer thru email to [EMAIL PROTECTED]
>
> dan reznik
> phd comp sci
> uc-berkeley
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
>

-

 Can't you just read out the fifo until it's empty, prior to each measurement??  That is: if it's 4000 bytes, you just read 4000 bytes which should clear it.


Sander Raaijmakers
-- 


University of Twente, The Netherlands
Department of Electrical Engineering
Laboratory of Measurement and Instrumentation
 

Reply via email to