matrix_df hotmail wrote: > Hallo Jan > > rtnet-0.9.4-svn + xenomai 2.2.0 > > WAITONCYCLE seems to work now on master. > > Now I have a problem with WAITONCYCLE_EX. > I always get cycle number 0 returned after executing the ioctl function.
Yep, you managed to find another piece of yet-unused RTnet code that was
broken. Please check SVN and let us know if that one is better.
>
> waitinfo.type = TDMA_WAIT_ON_SYNC;
> waitinfo.ext_size = 0;
>
> ret = rt_dev_ioctl(fdtdma, RTMAC_RTIOC_WAITONCYCLE_EX, &waitinfo);
> if (ret < 0 ) {
> printf("RTMAC_WAITONCYCLE failed");
> }
> else printf("cycle: %lu\n", waitinfo.cycle_no);
>
> What can I use the other variables, ext_size and ext[0], for ?
Reserved for future extensions. :)
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 [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-users

