On 11/21/2013 08:45 PM, Alex Martin wrote:
Hi,

I want to adjust the period set for rt_task_set_periodic.

It is required to adjust the period value at run time when task is running.
I want to adjust the task period to external clock.

period will about 5 milli seconds.( I set it to 5e6 ). There will be always 
difference between two clocks. I want to adjust dynamically during run time 
period of the xenomai task to match external clock.

Which function can be used.


Simply issue rt_task_set_periodic again, with the adjusted period.

Best regards,

Alex.

_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai



--
Philippe.

_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to