matrix_df hotmail wrote: > Hallo Jan > > xenomai-2.2.0, rtnet-0.9.3-svn > > WAITONCYCLE question: > How precise it this function? > > Is there any guarantee that the data is sent in the current cycle (not the > next one). > > Or do I need to start rt_dev_sendmsg() some nsec earlier?
That heavily depends on your TDMA schedule: if there is enough time between the SYNC frame and the station's next TDMA slot, you are fine with issuing the data frame on wakeup from WAITONCYLE in your application thread. If not, you either have to wait one cycle, set a timeout a bit before the transmission slot - or simply reorder your TDMA schedule (tdma.conf...). But this also depends on how you generate your data, i.e. if that data depend on incoming packets or on some data acquisition or ... [I wish we already had LTTng over Xenomai (work in progress). That tool would nicely visualise the event flow.] Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users