Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: cd_edwards on November 10, 2025, 06:25:23 PM

Title: Mach4 probing script
Post by: cd_edwards on November 10, 2025, 06:25:23 PM
Lua: Error while running chunk
C:\Mach4Industrial\ScreenScript.lua:1380: attempt to index a nil value (global 'prb')
stack traceback:
   C:\Mach4Industrial\ScreenScript.lua:1380: in function 'btnSurfXHelp_Clicked_Script'

No error's when loading. just when you attempt to ask for help.

and if you attempt to probe
 
ESS: Mach4 Enabled
ERROR: Invalid probing G code
Title: Re: Mach4 probing script
Post by: cd_edwards on November 12, 2025, 03:28:57 PM
If I add the proper setup to the button's for help which involves loading the script since it's a separate instance, I  can see the help for about a millisecond. As the OK button is not respected.

McTouchOff provides some error messages as well. For some reason the file is not found in the modules directory. Once I moved it to a directory it was looking at, all is good.