Thanks for the example at http://www.rts.uni-hannover.de/rtnet/lxr/source/examples/xenomai/native/tdma-api.c?v=SVN
It seems that we can use this concept with RTAI too (without a native Xenomai task).
If I'm right, then waitinfo.clock_offset is the offset between master and slave clock (system clocks) for the current cycle.
The returned time offset is a difference between two timestamps at that moment when the ioctl function is called or it gives a time with the (included) execution time of the task?
Imre
------------------------------------------------------------------------- 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