Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: thespindoctor on April 24, 2018, 06:09:24 PM

Title: stuck in plc
Post by: thespindoctor on April 24, 2018, 06:09:24 PM
Help, I put an wx.wxmessagebox in the PLC script and I cannot get out of it

Thanks
Title: Re: stuck in plc
Post by: joeaverage on April 24, 2018, 06:19:11 PM
Hi,
I've made that mistake, its a real ba...rd!

Daz showed me a way of doing it...it was a while ago and I've all but forgotten how.

Open a CMD window and navigate to Mach4, I think  run Mach4GUI.exe -p. The '-p' switch means that the program fires up in screen edit mode directly where you can dig the offending statement out.

Let us know how you get on, as I say its been a while...

Craig
Title: Re: stuck in plc
Post by: thespindoctor on April 24, 2018, 06:24:04 PM
Relief, it worked but used /e to come up in edit mode

Thanks so much!
Title: Re: stuck in plc
Post by: joeaverage on April 24, 2018, 06:26:38 PM
Hi,
kool, glad it worked...for some reason thought the switch was 'p'. Anyway your back in business. The first time I did that I ended up reinstalling Mach before I learnt the
trick from Daz.

Craig
Title: Re: stuck in plc
Post by: joeaverage on April 24, 2018, 06:34:43 PM
Hi,
funny though...I thought you would have heard it.....it was when I was just getting started with Mach4 and I was doing a lot of shouting
and swearing VERY LOUDLY indeed....you are only 8000 nautical miles away...you must have heard it! LOL

Craig.
Title: Re: stuck in plc
Post by: thespindoctor on April 25, 2018, 04:23:18 PM
I have many of those moments too!