Jan Birke wrote: > Hi, > > I have to access the global time provided by RTnet. Is the only > possibility of getting this information waiting for the next TDMA cycle > as described in the tdma-api.c example? Or is the local clock offset > also stored somewhere else?
RTMAC_RTIOC_TIMEOFFSET might provide what you are looking for. Check rtmac.h. > To get this waitinfo, I have to use the "TDMA0" device? Yes. TDMA<x> refers to the rteth<x> interface on which RTmac/TDMA is enabled. Most often this is rteth0, thus TDMA0. Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users