Hello Guest it is March 28, 2024, 10:42:58 AM

Author Topic: Mach4 UI unresponsive during m6 macro  (Read 1618 times)

0 Members and 1 Guest are viewing this topic.

Mach4 UI unresponsive during m6 macro
« on: September 27, 2017, 08:14:08 PM »
I'm getting a working ATC m6 script by following the Lua Scripting Manual.

So far so good, except that the UI is completely inactive during the toolchange, then updates correctly when m6 is finished.

I'd certainly prefer to see the DRO's update and be able to press Stop while I'm still working out the script.

Any ideas why the dead UI?

Thanks again to the patient helpers on this forum.
Leo
Re: Mach4 UI unresponsive during m6 macro
« Reply #1 on: September 27, 2017, 08:16:53 PM »
Blind guess:

Does mc.mcCntlGcodeExecuteWait prevent the UI from updating while its Gcode statements run?
Re: Mach4 UI unresponsive during m6 macro
« Reply #2 on: September 27, 2017, 08:27:10 PM »
Hi,
yes, there is a very current thread dealing with exactly this issue
http://www.machsupport.com/forum/index.php/topic,35666.0.html

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Mach4 UI unresponsive during m6 macro
« Reply #3 on: September 27, 2017, 11:52:15 PM »
Thanks very much for that link Craig.

How frustrating to follow several linked threads to find out that the Lua Scripting Manual has been deprecated since the beginning of 2016!

Why is it still featured on the main Mach4 documentation site?  http://www.machsupport.com/help-learning/product-manuals/

Well back to my machine!
Re: Mach4 UI unresponsive during m6 macro
« Reply #4 on: September 28, 2017, 01:26:26 AM »
Hi,
the LUA API is in your Mach4 documents and its current.

One of the exciting, on the one hand and offputing on the other, things with an entirely new piece of software that inevitably the developments
exceed the documentation. Get used to it.

Artsoft is a very small company with a very modest income stream. It is simply not possible for such an organisation to devote the man hours
necessary to document all the changes and developments....unless they insist that their customers, that's you and me, pay bigtime, maybe $2000
straight up AND an annual subscription! I don't want them to do that!

As it turns out the link I posted is right next to your post, started within the last few days, its not hidden. Did you do any searching or reading before
you posted? The forum IS the manual.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'