Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: KatzYaakov on December 02, 2021, 07:58:58 PM

Title: mach not release the file
Post by: KatzYaakov on December 02, 2021, 07:58:58 PM
i use mach with Tool changer for several machines 3 years
never had this problem before
M6 read the text file about tools magazine
then
io.close()
but even that after i make M6 with mach i cant any more open the text file by notepad until i turn off mach
--i use last beta version of mach
thanks
Title: Re: mach not release the file
Post by: joeaverage on December 04, 2021, 02:06:47 PM
Hi,
I used to have the same problem with an old build of Mach4.

I open a file to record probe data and then proceed to run a Gcode job that probes the workpiece in a grid. If that job should ever fail,
like a probe wire fall off, then Mach would never close the data file and then Mach would hang up.

With a more recent build that problem has gone away. I can only assume that the file gets automatically closed if Mach stops for whatever reason.

Craig