[Qt-interest] Cleaning FIFO between QT and RT
Neeraj Jhawar
navderm at gmail.com
Sun Jan 18 03:31:02 CET 2009
Hi all
I have a lil problem here.
I have connected like 4 FIFOs between a QT and RT Linux threads. Now when
one of the button on QT "STOP Calculation" is pressed, I wish to clear the
FIFO . This is because after the STOP button is pressed, there are still
some data left in the FIFO which is being sent by RTLinux to the QT. Because
of this there is a small time lag between the calculation with the old
setting and that with the new setting. This also at time tends to stick the
computer(Hang it).
Please tell me a way in which I could clear the FIFO's content as soon as
this button is pressed. I could also do it from RTLinux itself but then
again , How??
Sincerely,
Neeraj Jhawar
Senior Undergraduate
Mechanical Engineering Department
Punjab Engineering College
Chandigarh.
India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090118/5b4bbe7f/attachment.html
More information about the Qt-interest-old
mailing list