Roberto Caminiti wrote:

>[snip]
>Sincerely I don't know if this is an RTAI problem or not, because
>sometimes there are RTAI errors.
>How can I discover where is the problem?
>I have already made the latency test with zero overruns.
>(my base thread is 100000 ns).
>  
>
Is this your base thread or your servo thread period?  What is your 
servo thread period?

You can see the maximum execution time (in CPU cycles I believe) of each 
function by looking at `halcmd show param *tmax`.  You can see the same 
information for each thread in the show threads display.  Try setting 
the servo period to something very largs, like 10 milliseconds (10000000 
ns), and look at the execution times.  If the execution time of the 
write function is long, you may need to slow down your servo cycle.

Incidentally, what motherboard, chipset, and CPU are you using?

- Steve


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to