Hello Guest it is July 21, 2019, 03:39:46 PM

Author Topic: Call for editor  (Read 5054 times)

0 Members and 1 Guest are viewing this topic.

Offline cfell

*
  •  27 27
    • View Profile
Call for editor
« on: January 21, 2013, 07:05:49 PM »
I have a question concerning how Mach3 calls the editor.  I am using a Tormach build of mill and when I go to [change-g-code] it forgets my program and simply sits with a blank program window.  I then have to reload or open the code again.  Oddly, on the same computer the Tormach build of Duality lathe works as it should.  I checked the config xml and it appears to be the same for both and ok.  I don’t have access to a config screen as in the standard build of Mach.  Tormach support does not appear to want to go into the inner working of the program.  Windows 7 computer, yes I have reinstalled the software.
Any insight would be appreciated. Thank you CF

Offline BR549

*
  •  6,874 6,874
    • View Profile
Re: Call for editor
« Reply #1 on: January 22, 2013, 11:16:32 AM »
It is probably a permission problem with W7. Have you tried starting the program as ADMIN ? sometimes that helps.

(;-) TP

Offline cfell

*
  •  27 27
    • View Profile
Re: Call for editor
« Reply #2 on: January 26, 2013, 08:41:55 AM »
I have struggled a bit more on this issue.  I have observed that the Tormach build of Mach3 turn (duality lathe) consistently brings up notepad and works every time.  The Tormach build of Mill attempts to bring up Notepad++. Notepad++ is loaded into the PCNC1100 directory structure during installation of the Tormach Mill build.  From a cold start of the computer I am able to start notepad++ from that directory or Mach3. Regardless after 1 or 2 instances it no longer works unless I shut completely down and start again. So this is not a Mach issue.

My problem is Tormach does not give you access to a configuration screen so I can change my editor.  Does anyone know how I can get around this?  The Windows 7 machine is not my controller.  I am simply trying to keep the screen sets the same on my development machine as my controller computer.

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Call for editor
« Reply #3 on: January 26, 2013, 09:08:39 AM »
Can you attach your mill xml please.
Hood

Offline BR549

*
  •  6,874 6,874
    • View Profile
Re: Call for editor
« Reply #4 on: January 26, 2013, 09:21:12 AM »
Hood that is cheating(;-)

(;-) TP

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Call for editor
« Reply #5 on: January 26, 2013, 09:24:11 AM »
Not cheating, just bending the rules a wee bit :)
Hood

Offline cfell

*
  •  27 27
    • View Profile
Re: Call for editor
« Reply #6 on: January 26, 2013, 12:03:57 PM »

I have found two xml files each named PCNC1100M3-II.  One in the PCNC3 sub directory (along with Mach3), the other in the PCNC3/NotpadPluPlu/Ansi sub directory (along with NotepadPlusPlus).  To identify the second file I added “_2009” to the name. There is no <editor> tag in the _2009 file that I can find.  I was going to try changing the tag in the first file but couldn’t figure out what to put.  I appreciate your help.

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Call for editor
« Reply #7 on: January 26, 2013, 01:39:56 PM »
Place this in your Mach3 folder and use the loader to open it and see if it works.
Hood

Offline cfell

*
  •  27 27
    • View Profile
Re: Call for editor
« Reply #8 on: January 26, 2013, 02:40:05 PM »
Thanks but no joy.  I exchanged the files. Loaded a program and could see the code and file name on the Mach screen.  When I clicked change G-code button the file name immediately changed to "no file loaded".  I then had to reload my file.
If I hover near the button when I press it, I see the blue circle (hour glass thing) briefly then it goes away.

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Call for editor
« Reply #9 on: January 26, 2013, 02:46:11 PM »
Ok must be more to it than simply the path changed. Can you attach the lathe xml so I can compare, might manage to work out what they are doing.
Hood