Hello Guest it is April 19, 2024, 06:51:09 PM

Author Topic: How to interrupt a program in Lua  (Read 1100 times)

0 Members and 1 Guest are viewing this topic.

How to interrupt a program in Lua
« on: April 02, 2017, 03:00:02 PM »
Making lots of progress with Lua now understanding controlling Gcode including G31, writing values to the probefile, and setting up screens to function.

The program to digitize is working very well but it takes a long time to run and sometimes there is a need to interrupt and start over. 
I tried to look for an axis with enable of false but that did not work.  Estop does work but I have to restart Mach4 since it goes into lockdown mode...

How does one implement a pause or stop condition during a running Lua program.

Thanks