Leonardo Pappagallo wrote: > hi, > I've tried to use the function start_rt_timer(...) in my code but > nothing happens. > I've controlled that module rtcfg is loaded.
Then you don't need start_rt_timer in your code, better: you must not call it. > > Could you tell me where have i to insert the start_rt_timer(...) in the code? > I'm working in user space. > > code: > > [...] > long TimeOut; //timeout, espresso in ns > > [...] > // setto il time_out > TimeOut=500000000; //7ms > ioctl_rt(udpSocket,RTNET_RTIOC_TIMEOUT,&TimeOut); > TimeOut has to be "long long". You may pass broken and unwanted large values to RTNET_RTIOC_TIMEOUT otherwise. Jan
signature.asc
Description: OpenPGP digital signature