[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [rtl] (pas d'objet)
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:Joseph.Canou@bourges.univ-orleans.fr]
> 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 majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>