Embedding ngcgui in EMC 2.4.x

More
14 years 6 months ago #19431 by Rick G
Yep.

You might want to look here...
www.panix.com/~dgarrett/ngcgui/readme
If you are upgrading from 2.4 there are some changes.
You can run it stand alone or embedded.

Rick G

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #19445 by submicro
I've tried getting to work but have been unsuccessful.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #19446 by submicro
I get this error when I start LinuxCNC.

"<simp.ngc> must be in search path
Current Directory: /home/submicro/linuxcnc/configs/MiniMill_inch
Search Path:
../../../nc_files
../../../nc_files/ngcgui_lib
../../../nc_files/ngcgui_lib/utilitysubs

Checking for:
[RS274NGC]SUBROUTINE_PATH in ini file:
/home/submicro/linuxcnc/configs/MiniMill_inch/MiniMill.ini

Restart after fixing file"


Help appreciated
SubMicro

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago - 14 years 6 months ago #19454 by Rick G
Looks like you need to change the location of the sub files or the search path to them.
This may help...

linuxcnc.org/docs/html/gui/ngcgui.html

I often put mine in nc_files

Rick G
Last edit: 14 years 6 months ago by Rick G.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #19472 by submicro
That link is what I followed trying to get it working. I'm using 10.04 with linuxcnc2.5 The sim works but, getting it working with my actual setup has proved difficult. In my ini file I used relative paths i.e.
SUBROUTINE_PATH = ../../../nc_files/ngcgui_lib:../../../nc_files/ngcgui_lib/utilitysubs
USER_M_PATH = ../../../nc_files/ngcgui_lib/mfiles
The file it's looking for are in those paths. I checked.

SubMicro

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #19473 by BigJohnT
Some of the sample subroutines rely on other subroutines so you have to have them all in the correct place. Comment out all of the subroutines except a simple one and see if you can get the syntax correct. I just use the actual full path to mine... attach your ini file for us to look at.

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.409 seconds
Powered by Kunena Forum