From: Philippe Gerum <rpm@xenomai.org>
To: Alex Martin <alex.martin92@ymail.com>,
"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] rt_task_set_periodic
Date: Thu, 21 Nov 2013 22:01:35 +0100 [thread overview]
Message-ID: <528E74AF.8080404@xenomai.org> (raw)
In-Reply-To: <1385063104.21818.YahooMailNeo@web193606.mail.sg3.yahoo.com>
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.
prev parent reply other threads:[~2013-11-21 21:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-21 19:45 [Xenomai] rt_task_set_periodic Alex Martin
2013-11-21 21:01 ` Philippe Gerum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=528E74AF.8080404@xenomai.org \
--to=rpm@xenomai.org \
--cc=alex.martin92@ymail.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.