Jan I think what I can gather from the example that this should be enough to get things done. I'm just not clear on what the "rtmac_waitinfo" structure returns, what does the three return variables do nl. cycle_no, cycle_start, clock_offset? From what reference point are these values calculated? I assume it might be from the start of each frame, but I'm not sure.
On 12/5/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: > Michael Smith wrote: > > Hi > > The project I'm working on has multiple nodes connected together via a > > network running on RTnet. I need to synchronize the nodes so that > > their threads run in sync with each other all of the time. I wanted to > > do this by using the TDMA frame that is generated by the Master on the > > network as a reference to work form. > > Is there a way that a slave can be notified when this sync is sent > > from the master without having to wait in a loop for transmission or > > reception to take place? I guess what I'm asking is there a way to > > couple a interrupt or any other similar notification method to the > > reception of the sync from the master, or is it totally hidden on the > > application side? > > Are you looking for asynchronous notification (signal-like)? Or would > the TDMA device API already be OK (see stack/include/rtmac.h and > examples/xenomai/native/tdma-api.c)? > > Jan > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users