Michael Smith wrote: > Hi Jan > I keep on getting the same error message when I try to run the > RTMAC_RTIOC_WAITONCYCLE, it is error number -38. > If RTnet uses the standard Linux error numbers it means: "Function not > implemented". > My function calls are standard as per examples. > fd = rt_dev_open("TDMA0", O_RDWR); > error = rt_dev_ioctl(fd,RTMAC_RTIOC_WAITONCYCLE,TDMA_WAIT_ON_SYNC); > if(error < 0) > { > rt_printk("<0>Error no: %d); > } > > My setup is > -Node running as master with RTnet is 0.9.8. > -RTAI 3.5 > -Linux Kernel 2.6.15.1 > > Can you point me in a direction as to where to look to fix this problem? > At the moment I don't know if there is something that I have done in > my setup of RTnet that has created this problem. I'm not sure where to > look.
Wrong context likely. Are you calling the ioctl from a hardened RT task? That's required as this service is blocking. Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users