Hi Leo,

I use a shared memory counter to keep track of this,
so that the Linux side does not execute the read function  when there is
no
data in the fifo.

Alain.

On Wed, 26 Apr 2000 [EMAIL PROTECTED] wrote:

> hi! All:
> 
> I am using RTLinuxV2.0 on a CNC project.
> The interpolation program download trajactory infomation whose 
> length is constant, to real-time
> controller through rt-FIFO.
> 
> My question is: Can I find out how many data left in the rtFIFO?
> or if not, is there any solutions?
> 
> 
> Thanks
> 
> leo
> 
> _____________________________________________
> �׶�����--�й��˵����ϼ�԰ http://www.263.net
> @263.net�й����������ʾ� http://freemail.263.net
> -- [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/
> 
> 

-- [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/

Reply via email to