Joseph,
You might check the count value that is specified in the
fifo function call. The count value is in bytes so you need
to set the count value using: number of integers * sizeof(int).
Also make sure that your fifo is large enough to accept
all of the data.
Hope this helps,
Rich
> ----------
> From: Joseph Canou[SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, October 03, 2000 9:59 AM
> To: RTLinux mailing list
> Subject: [rtl] (pas d'objet)
>
> hello
> i write an rt module which collects datas and put it in a rt_fifo
> i get this data in a linux process
> i use rtl2.3
> when i put the datas in rt_fifo as unsigned char i can get these
> normally in my linux process
> when i put the datas in rt_fifo as unsigned int i lose a lot of datas
> can you explain me where is my problem
> thank you in advance
>
> -- [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/