HI, Jan :) i finish to write code with rtnet to controll my robot.....:) i'm trying to understand the reason because of my modules can't recive and sendback a packet less then 6 ms.The pc is a p3 katmai 450 and the robot is controlled by a rtai modules which is interfaced with my rtnet modules.
I use some function exported with export_symbol and a binary semaphore to syncronize 2 modules but the robot modules run periodically every 1 ms, my modules can't go down less 6ms.
The robot have a interupt handler and an rt_task that count irq and my modules have another task that verify if the communication is down.
what do u think? the last version of my code is very short, i have about 10 instruction and 4 if could be the pc that can't execute everything? how can i see the cpu occupation?
Thank u very much Matteo
----
Email.it, the professional e-mail, gratis per te: clicca qui
Sponsor:
www.Peraga.it, il mondo del giardino in un clic: da casa vostra, dal vostro computer, gli acquisti facili e sicuri.
Clicca qui

