[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] question on examples in the testing/2tasks/ directory
Hi Ming, I'm new to this, too, but can probably point you in the
right direction. I downloaded rtlinux-0.6 for linux 2.0.33. In the
"testing" directory the README contains:
Create RT-FIFO devices with the following command (Bourne shell):
for i in 0 1 2 3; do mknod /dev/rtf$i c 63 $i; done
That will create your fifos... In addition to rt_task_make_periodic
you might want to look at the "testing/sound" directory for an example
of how to use the real time clock. Good luck.
-Rick
>Hi,
>
>I just got rtlinux and tried to get the example program to work, but
>I found that the files /dev/rtf1,
>/dev/rtf2 and /dev/rtf3 are missing. How can I have those files?
>
>My task is to control a robot and all I need to do is to call a function
>once every 896 microseconds.
>What is a good way of doing that? I've looked at rt_task_init(),
>rt_task_make_periodic(), and
>rt_task_delete() which may be suitable for my project. I don't know how
>to use device files so
>that I can use the 3 functions. Please help.
>Thanks a lot..
>
>Ming.
--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/