NCGGUI and QtDragon

More
3 years 8 months ago #265132 by Dragonick
Replied by Dragonick on topic NCGGUI and QtDragon
When I changed:

[DISPLAY]
NGCGUI_SUBFILE_PATH = /home/cnc/linuxcnc/nc_files/ngcgui_lib/

[RS274NGC]
SUBROUTINE_PATH = /home/cnc/linuxcnc/nc_files/ngcgui_lib/:~/linuxcnc/nc_files/examples/ngcgui_lib/utilitysubs; \
~/linuxcnc/nc_files/examples/probe/basic_probe/macros:~/linuxcnc/nc_files/examples/remap-subroutines:\
~/linuxcnc/nc_files/examples/ngcgui_lib/remap_lib


The same error still pops up

Please Log in to join the conversation.

More
3 years 8 months ago #265133 by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
I'll look at the code when I'm off work.

Please Log in to join the conversation.

More
3 years 8 months ago #265135 by Dragonick
Replied by Dragonick on topic NCGGUI and QtDragon
Thank you
I am attaching the ini file
 

Attachment not found

Please Log in to join the conversation.

More
3 years 8 months ago #265146 by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
yeah, it's a pain in the butt, but you have to be very careful with all the different paths.......
you'll get.

Please Log in to join the conversation.

More
3 years 8 months ago #265175 by andypugh
Replied by andypugh on topic NCGGUI and QtDragon
I see a semicolon in the SUBROUTINE_PATH, they should all be colons.

I suspect that anything after that is likely to be ignored.

Please Log in to join the conversation.

More
3 years 8 months ago #265179 by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
Are you absolutely sure this is the right path?
/home/cnc/linuxcnc/nc_files/ngcgui_lib/
Can you show me what is in that folder?

Please Log in to join the conversation.

More
3 years 8 months ago #265180 by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
wait... you have two [RS274NGC] sections. you can only have one.

Also use this:

SUBROUTINE_PATH = ~/linuxcnc/nc_files/ngcgui_lib/:~/linuxcnc/nc_files/ngcgui_lib/utilitysubs:~/linuxcnc/nc_files/probe/basic_probe/macros

Please Log in to join the conversation.

More
3 years 8 months ago #265310 by Dragonick
Replied by Dragonick on topic NCGGUI and QtDragon
In the file: /home/cnc/linuxcnc/nc_files/ngcgui_lib/
I have it:  

Attachment not found

wait... you have two [RS274NGC] sections. you can only have one.

you're right, i've corrected it

SUBROUTINE_PATH = ~/linuxcnc/nc_files/ngcgui_lib/:~/linuxcnc/nc_files/ngcgui_lib/utilitysubs:~/linuxcnc/nc_files/probe/basic_probe/macros

i changed it but nothing changed. the bug still pops up.
 

Attachment not found

Please Log in to join the conversation.

More
3 years 8 months ago #265319 by Dragonick
Replied by Dragonick on topic NCGGUI and QtDragon
I noticed that I also have two [HAL]but when I corrected it and got:

[HAL]
HALFILE = my-mill.hal
HALFILE = custom.hal
POSTGUI_HALFILE = qtdragon_hd_postgui.hal
POSTGUI_HALFILE = qtdragon_hd_debugging.hal
POSTGUI_HALCMD = loadusr qtvcp test_probe
POSTGUI_HALCMD = loadusr qtvcp test_led
POSTGUI_HALCMD = loadusr halmeter

I receive a error:

Debug file information:
Note: Using POSIX realtime[QTvcp.QTVCP.QT_ISTAT][[33mWARNING[0m]  Invalid message configuration (missing icon) in INI File [DISPLAY] sectioN (qt_istat.py:400)Could not open command file 'qtdragon_hd_postgui.hal'79267958Stopping realtime threadsUnloading hal componentsNote: Using POSIX realtime 

When I leave only:

[HAL]
HALFILE = my-mill.hal
HALFILE = custom.hallinux

starts but I get the following message: 

Attachment not found


NGCGUI also started to load but still not working.I see the lines but the program itself does not start, and when I press stop, this error pops up 
 

Attachment not found


 

Attachment not found

Please Log in to join the conversation.

More
3 years 8 months ago #265338 by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
You are missing the on_abort.ngc file.
linuxcnc.org/docs/2.9/html/gui/qtdragon.html#_abort_detection

The [HAL] section must reflect the actual files you want loaded. The documentation shows sample code, it's not meant to be copied verbatim.

The 'file not open' error I believe is caused by the option to reload the last file on startup.
Since (I assume) there was no loaded file in memory when qtdragon shuts down, it would cause this error.
You can turn off this setting in the settings page or eventually it should fix it's self.

Chris

Please Log in to join the conversation.

Time to create page: 0.337 seconds
Powered by Kunena Forum