Hi, Dear All,
I am using Qt & RT Linux to develop a package. I need to fetch data via
RTFIFO to be plotted within GUI designed by Qt. My three questions are
as follows :
/************** Question 1**********/
When I create RT FIFO using "rtf_create(fifo, size)", how can I decide
the "size" of the RT FIFO? I even don't know the unit of the size, is it
Byte?
/************** Question 2**********/
Also, say, I tried to create a FIFO by using "rtf_create(3, 300)",
however, I found that the data to be passed to the Qt plotter seemed to
be displayed contineously, sometimes the data shown is wrong. Could you
please kindly give me a clear idea about the RT FIFO's working
mechanism? If I take the data out of the FIFO, will it still stay in
the FIFO, or be deleted at once?
/************** Question 3**********/
In my kernel module, I set the "pthread" periodical time as 5ms, and
output one double data to RTF3, then I will fetch the data from RTF3 to
be plotted in GUI. I also set a 5ms QTimer event (plus a
QSocketNotifier) to plot the data, but sometimes the data shown is not
correct. My question is: Will the user space's 5ms match the kernel
module's 5ms well?
Thanks a lot for your any kind assistance.
Kind regards,
Yuhong
-- [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/