Hello, What we are really talking about there are 2 issues: 1) I did this, (AXIS,stop) is in my code, but it still throws a Python error at line 96 in glcanon.py, which reads:
if command == "stop": raise KeyboardInterrupt So it seems that raising an exception here is intentional, it is just that there is nothing above to catch it, so it opens a dialog box containing the traceback. This seems incorrect to me, does anyone know why this is this way? Is there code missing above to catch this? 2) Every other CNC machine I own works just fine with an infinite loop in the code with the exception of the machines that have LinuxCNC. There are two ways that this needs to go: a) There is nothing in the documentation that I can find that prohibits the use of an infinite loop in NC code, this needs to be addressed (or otherwise pointed out to me). b) Gremlin needs to be fixed to handle infinite loops. Or at least fail gracefully if someone tries to load a program that is otherwise too big to backplot with the amount of available resources. I am happy to submit a fix for any of the above, I just need some idea as to what is the most compatible with the intended direction of the project... -Neil Whelchel- On Fri, Jun 24, 2016 at 9:09 AM, Jeff Epler <[email protected]> wrote: > http://linuxcnc.org/docs/2.7/html/gui/axis.html#axis:preview-control > > I *believe* the special handling code is in the portion that is shared > between axis and gremlin, so try using (AXIS,stop) at the point you want > to end the preview. > > Jeff > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
