Hello Guest it is November 14, 2019, 12:08:26 PM

Author Topic: Mach 4 Config Menu's Won't Save  (Read 764 times)

0 Members and 1 Guest are viewing this topic.

Mach 4 Config Menu's Won't Save
« on: May 11, 2018, 02:28:01 PM »
Very grateful for any insight. New build that's up and running but it seems M4 won't save any menu config. changes. Can't tune motors, set soft limits on/off or specs., etc. Tried re-installing M4 and also looking for the .xml file someone noted was in M3 giving them trouble in the past. No go. System pref's seem to be set to write across the board so I'm a bit crazed on this one.

System:
M4 (build 4.2.0.3481)
Windows 10 fresh install on M4/Pokeys only brand new board
Pokeys 57cnc
Gecko 214's


Re: Mach 4 Config Menu's Won't Save
« Reply #1 on: May 11, 2018, 04:13:20 PM »
Hi,
there is no .xml file in Mach4, it is an .ini file in the profile folder under the name of the profile you are using.

When you exit the Configure screen are you hitting Apply? When you close it should flush all the changes to your profile.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach 4 Config Menu's Won't Save
« Reply #2 on: May 11, 2018, 06:36:58 PM »
Thank you Craig. Exactly the problem. Set up monitor was cutting off the bottom "Apply" button.
Re: Mach 4 Config Menu's Won't Save
« Reply #3 on: May 11, 2018, 07:08:40 PM »
Hi,
if you are new to Mach4 there is a couple of issues that you should be aware of. May not make much sense to you now but when you
update to the latest build and you realize all your screen edit tweaks and all your individualized macros are gone, overwritten with Machs standard
issue screen sets and profiles you will!

You must have an uniquely named profile AND screen set.

The reasoning goes that over a period of months you will add all sorts of little tweaks to both your profile AND screen set. When you update, wx4.set, for
instance, will be overwritten with a fresh copy with any new stuff from NFS. If you had specialist DROs, buttons and similar they will be overwritten, often
you can't get them back and you'll have to redo the lot. I know because that is exactly what I did and others have fallen in the same trap.

Most new users have a uniquely named profile, like WatchmakerMill or MyMill say, which are copies of one of the standard Mach4 supplied profiles.
What is less common is to have a new user generate his own screen set. I suggest you experiment from among the standard Mach screen sets to find
the one most suitable for your needs.

Once you have identified it go to the Mach4Hobby\Screens folder and create a uniquely named copy of the desired screenset, Watchmakerwx4.set for example.
Then create a new profile that uses this screen set or open Machine.ini of your existing profile and edit the screen set entry to your new individualized screen set.

As I say it may not make any sense to do this now, and if you choose not to do so Mach will carry on and work fine. Only when you update to the latest build
of Mach will it become apparent.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach 4 Config Menu's Won't Save
« Reply #4 on: May 11, 2018, 07:26:38 PM »
Hi,
there is a simple way to view the various screen sets....

On Mach's View menu choose Load Screen and select from the list. It will load and if you decide you like it better than the one already stored in your Machine.ini file just close Mach. By
virtue of closing Mach it will cause any configuration changes you made during the session to be flushed to the Machine.ini file. Saves having to manually edit the .ini
file, although the file layout is very much more readable and amenable to manual editing than the .xml files of Mach3.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach 4 Config Menu's Won't Save
« Reply #5 on: May 12, 2018, 12:35:58 PM »
Hi,
if you are new to Mach4 there is a couple of issues that you should be aware of. May not make much sense to you now but when you
update to the latest build and you realize all your screen edit tweaks and all your individualized macros are gone, overwritten with Machs standard
issue screen sets and profiles you will!

You must have an uniquely named profile AND screen set.

The reasoning goes that over a period of months you will add all sorts of little tweaks to both your profile AND screen set. When you update, wx4.set, for
instance, will be overwritten with a fresh copy with any new stuff from NFS. If you had specialist DROs, buttons and similar they will be overwritten, often
you can't get them back and you'll have to redo the lot. I know because that is exactly what I did and others have fallen in the same trap.

Most new users have a uniquely named profile, like WatchmakerMill or MyMill say, which are copies of one of the standard Mach4 supplied profiles.
What is less common is to have a new user generate his own screen set. I suggest you experiment from among the standard Mach screen sets to find
the one most suitable for your needs.

Once you have identified it go to the Mach4Hobby\Screens folder and create a uniquely named copy of the desired screenset, Watchmakerwx4.set for example.
Then create a new profile that uses this screen set or open Machine.ini of your existing profile and edit the screen set entry to your new individualized screen set.

As I say it may not make any sense to do this now, and if you choose not to do so Mach will carry on and work fine. Only when you update to the latest build
of Mach will it become apparent.

Craig


Thanks again big time Craig! .. That should be a sticky. I was already dumpster diving in the .ini file previously so after reading this I loaded up my custom screen within the .ini file. Thanks for the heads up and extensive documentation. I hope it helps others as well.