Hello Guest it is April 24, 2024, 01:06:07 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bigglesCNC

Pages: 1
1
Mach4 General Discussion / Re: LUA Script Error preventing start
« on: March 06, 2021, 10:07:25 PM »
Many thanks for this tip. Saved me a lot of heartache! Just got to refine the LUA script for the MPG to stop it being permanently live to the Y axis! More head scratching tomorrow. Cheers Simon

2
Mach4 General Discussion / LUA Script Error preventing start
« on: March 06, 2021, 08:11:49 AM »
This is what happens when you get too clever...
I have successfully got Mach4 running and mastered the setup OK.
Then I added an MPG with LUA Script that I got from the Mach site.......
Initially it ran but was glitchy.....

    [the function that sets the axis will not set it to 'no axis' when axis switch is off - rather it sets it to the Y axis when the switch is off. Any ideas on this would be appreciated. I have triple checked the pins, the inputs, the code etc but simply cannot see why the 'if statement' will 'see' the X,Y & Z axes but not the final 'else' that says nothing is selected....but this is secondary.....]

Then I noticed one version of the LUA code included a call to the new MPG functions (axis, magnification and stop) in order to initialise the new script.
I foolishly added these calls ahead of the code that sets them up - instead of at the end of the script.
And now I get a fatal error no matter what profile I try to load. Mach4 simply will not load.
I have tried editing the 'screenscript.lua' file to remove the offending code, but on restart this file is rewritten with the code back in it - and Mach4 won't load.
I know I screwed up big time here! Any thoughts on how to get my Mach4 back very gratefully received!
Regards Simon

3
Mach4 General Discussion / Mach4 GUI not displaying properly
« on: February 23, 2021, 07:32:52 PM »
Hi, I’m migrating from a Duet-based setup to either Mach3 or Mach4. In order to evaluate, I have loaded and configured Mach3 Demo successfully on my Windows 8.1 Pro laptop and got my OpenBuilds CNC working with it very well. So far so good.....

However, when I tried to repeat the process with Mach4 Demo (Mach4Hobby_Installer-4.2.0.4517) on my Windows 8 laptop the GUI looks awful. The buttons do have any gradient, the fonts are odd and text fails properly to wrap within the button areas.

I also loaded it onto another Windows 10 machine and got same display (virtual machine on a very modern iMac running under Parallels). I attach screenshots below (possibly....Forum doesn't seem to allow load of .jpgs....despite attaching them....).

Both setups were preceded by the SCU routine.

I selected the ‘wxrouter.set’ for my profile. But on switching to other ’sets’ the problem persists.

On the W8 machine I have tried every reasonable variation of screen resolution and % of ‘enlargement’ - no difference.

Does anyone cleverer than me know why it doesn't display properly.

I stress that all other Windows stuff displays perfectly on both machines (inc Mach3).

Any help gratefully received.

Simon

Pages: 1