Hi,

I have been using RTL V1 a while ago and now want to move to V2. I use to 
make calls to rt_task_make_periodic to make th task periodic and
rt_gettime to get the time ( I want to send to the fifo the current time
to check various things).

My problem is that it is suggested that rt_task_make_periodic should not
be used and rather should use pthread_make_periodic_np ...

My main problem is that when I use clock_gethrtime, the system hangs

My RTTask should run at 1 Hz,

I suspect some incompatibility ...


For now, my goal is to have a rt task running at X Hz and toggling the
parallel port.

I have no problem with the fifo stuff, but in order to make the task
periodic and use the clock, ... can somebody help me ?

I want a periodic task (eventuslly more than one) running forever at say 2
khz transfering data to the fifo for the user.

I did it with version 1 but would like to do it more formerly with version
2 as well.

a few hints would be appreciated.

Thank you
M.


-----------------------------------
Michel Doyon, M.Eng.
Senior STVF Control Engineer
Canadian Space Agency
6767 route de l'aeroport
St-Hubert (Quebec)
J3Y 8Y9 - CANADA
Tel.:  (450) 926 4679 - Fax :  (450) 926 4695
[EMAIL PROTECTED]



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