Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: kberta on May 28, 2020, 07:01:38 PM

Title: Mach4 4.2.0.4300 won't open again unless I reboot
Post by: kberta on May 28, 2020, 07:01:38 PM
OK, I went to Mach4 4.2.0.4300.  Now once I open Mach and then close it, I have to reboot in order to reopen Mach.  It gives me an error when I try to reopen and says there is already a session open.  Unplugging my PMDX-424 does not change anything.  Funny thing is if I open Mach without being connected to the PMDX-424 it works great.  Only have a problem when connected when I first open Mach.  I was running 4.2.0.3481 and since I copied it into another folder, I tried it and it works great. 

Anyone have any ideas?  I switched because I started to get some funky behavior.  Since I'm currently building a CNC lathe, I'm not sure I will get another PMDX-424 controller if I can't get this fixed. Reboots are a real pain.
Title: Re: Mach4 4.2.0.4300 won't open again unless I reboot
Post by: Steve Stallings on May 28, 2020, 07:39:57 PM
Mach4 has many threads running and when you shut it down, it takes a while for them all to be properly ended. With more recent versions of Mach4 there are more things to shut down and it takes longer. If any of them have not yet ended, Mach4 will fail to start because of conflicts between the old and the new processes. If the PMDX-424 is not connected the full set of processes is not running and shutdown is faster.

Try waiting maybe 15 seconds longer before you try to relaunch Mach4.

Also make sure that hyperthreading is enabled in your BIOS configuration if it is configurable.

Title: Re: Mach4 4.2.0.4300 won't open again unless I reboot
Post by: kberta on May 28, 2020, 07:56:45 PM
Thanks.  Will check my hyperthreading.  I've left it sit for hours and there was no change so it's not a time issue.  It's like it can not close something.  I might try downloading the latest test version and see if the problem persists.
Title: Re: Mach4 4.2.0.4300 won't open again unless I reboot
Post by: Graham Waterworth on May 28, 2020, 08:13:04 PM
Why not try a later version of Mach4

ftp://anonymous:guest@ftp.machsupport.com/Mach4/DevlopmentVersions/Mach4Industrial_Installer-4.2.0.4498.exe (ftp://anonymous:guest@ftp.machsupport.com/Mach4/DevlopmentVersions/Mach4Industrial_Installer-4.2.0.4498.exe)

Title: Re: Mach4 4.2.0.4300 won't open again unless I reboot
Post by: Steve Stallings on May 28, 2020, 08:20:34 PM
I suspect that you can use Windows Task Manager to discover what Mach related task is not shutting down. Then you could use Task Manager to force shutdown of that task before trying to restart Mach4.

Title: Re: Mach4 4.2.0.4300 won't open again unless I reboot
Post by: kberta on May 28, 2020, 08:40:13 PM
Downloaded version 4498 and the problem has been solved.  Thanks for the help.