Hello Mario,
I still don't think I understand your problem.
I've been reading through all your emails (at least the ones I have), and it
seems like one email at least got lost.
There is no email describing what the actual problem is. Sure you talk about
1ms something.. but it's not clear at all what the problem is.
Regarding the 1msec, I see you have the SERVO_PERIOD set to 1000000 nsec = 1msec
So any change you send to the motion controller would happen at 1msec
(including the feed override changes).
Maybe try again (from the beginning, and with assuming we know nothing) to
explain what exactly the problem is, and what you are doing to show it.
Regards,
Alex
PS: when you move the slider (either AXIS or tkemx, or any other GUI), a NML
message gets composed then sent to task (emctask), this one queues it, and when
it's ok it send it to the motion controller, which sets the new value by
calling a TP specific function.
The other way (display of the current feed override) happens by means of the
status structure, and lateron with a NML status message.
There is _absolutely no way_ the moving of the slider per se to cause the
glitch (if that's what your problem is). What can be, and I am not ruling it
out, is a problem when applying the new feed_override in TP, maybe some accel
which is too high, and causes motors to stall (if your setting of 450 mm/s^2 is
not appropriate). I also notice you have some BACKLASH configure in there,
might want to take that out during testing (to rule out every possible cause of
problems).
----- Original Message -----
From: Mario.
To: Alex Joni ; EMC developers
Sent: Tuesday, December 26, 2006 2:05 AM
Subject: Re: [Emc-developers] Change in "feed override" during
machineruncauses 1 milisecond stalls
My reports on how I did that are in the previous posts. The test did go well
for hours of different configurations... I kept the processor loaded at 100%
most of the time, EMC2 was processing a job and nasty 3D screensaver was
running in preview, Firefox windows were opening and loading. With latency test
or EMC2 running in ordinary setup everything goes fine.
And one day you move the slider and it stops. I was trying hard to reproduce
the bug again - it is very rare when the network does not work (no internet for
unknown reason)
Screensaver preview: Solarvinds in large window (cpu load 100%), 1 Firefox,
2x Konsole, 1x System monitor, 1x EMC2...
With "nv" vga driver it has less occurence. With "vesa" driver and under 100%
load you only needed to try to move the slider once. I also cleared lot of
WACOM settings from the xorg.conf file and now it is much harder to cause such
error.
It may be the input of processing multiple click-double click of the slider?
On 12/25/06, Alex Joni <[EMAIL PROTECTED] > wrote:
Hi Mario,
sorry that I didn't reply sooner.
I see you're having problems with the RT subsystem.
It would be best if you start analyzing it bit by bit.
The first thing I would do is try the RTAI latency test:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting#RTAI_Latency_test
Once the test is running, start opening various windows (glxgears is a
good candidate), and try to stress the system as much as possible.
If that goes well, without any overrides, we can proceed further at
testing some EMC-specific parts.
------------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.27/602 - Release Date: 25.12.2006
10:19
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers