Michael Smith wrote:
> Hi Jan
> I'm sure you're the man to help me on this question.
> I am attempting to run RTAI together with RTnet but with a variable
> task scheduling. I use the rt_sleep() call at the end of the task
> instead of the normal rt_task_wait_period() call to get this working.
> The problem with this is that the timer has to be placed into oneshot
> mode to get this done, as apposed to periodic mode. This then
> obviously stops RTnet's running cycle because it runs with the timer
> in periodic mode (I assume).
> Is there any other way that I can run variable task scheduling of RTAI
> without affecting RTnet?

I surely can't help teaching periodic over aperiodic mode to RTAI. But I
wonder why you need periodic timer mode at all? Is there no way to
emulate what you need at application level?

The point is that RTnet requires high-res timers underneath to achieve
reasonable TDMA schedules. Jitters explode over periodic mode when you
have to deal with distributed clocks like RTnet does. And that would
require far larger slot offsets.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to