Hello,

        I use RT-Linux to command a video tape recorder. I send a
command to this device, and i have to wait 5 to 10ms for an
acknowledgement.
        At the beginning, i used an active wait (
"while(rt_com_read(.....) < 0);" ) but it was waisting a lot of time.
        So, i add some functions to rt_com to set an handler function,
only called when something is received by the serial port.
        Now, my real time task, send a command to the video tape, make
itself sleeping, and wait to be waking up by the special function called
when somethings is written in the serial port.

        I would like to know if there is a more simple and more clean
solution. Does someone developp a version of rt_com able to do that ?
        Another question: what is the correct procedure to install the
new rt_com module given yesterday by Jochen Kuepper ?


                       Thank you.
                                                    Julien Verchere.



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