NCGGUI and QtDragon

More
13 Feb 2023 15:20 - 13 Feb 2023 22:43 #264432 by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
I am pretty sure it does. I followed the doc example of making a panel.
-yes it does
But to be totally sure, I'll have to check on the machine later this morning.

Should it have it's own preference file? I don't know about that one either. I will check.
-there was not one, but I created one.   does not appear to be using it.   see the attached file.  the file is the terminal output from a short run.


I will also look at Seb's repository and see what date the latest deb is of. Maybe update to it. I am very cautious about updating.....
Attachments:
Last edit: 13 Feb 2023 22:43 by Roguish. Reason: update

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

More
13 Feb 2023 15:22 #264433 by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
check it out: buildbot2.highlab.com/

you can always ask Seb. He's usually lurking on IRC devel channel.

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

More
13 Feb 2023 22:46 #264465 by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
just updated to the newest deb from Seb.

linuxcnc-uspace_2.10.0~pre0.863.g89948ab62_amd64.deb

the shutdown error is gone. the side ferror panel still functions.

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

More
14 Feb 2023 05:55 #264481 by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
Excellent.

From your terminal output text, I identified the window geometry saving problem and have pushed a fix. -thanks.
The biggest error was any qtvcp mainWindow would use the preference file if it could find it.
and the geometry keyword for all main windows was always the same.

Panels don't have to have a preference file - only if you need it to remember things.

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

More
16 Feb 2023 16:07 #264627 by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
I just updated to the latest code. I see you increased the numeric field size in the ncggui routines. nice. I was going to suggest that.
the previous version was limited to 2 decimal places..... not it's a lot more (not sure the limitation, but it's at least 4 places)

thanks.

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

More
23 Feb 2023 15:58 #265123 by Dragonick
Replied by Dragonick on topic NCGGUI and QtDragon
Hi, I have linux master and qtdragon_hd.
I wanted to add ngcgui. It shows up, I can change the parameters.
but I can't run the created gcode, I get this error.
 

I checked and ngcgui works in pure linux without qtdragon.
Am I missing something?
Attachments:

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

More
23 Feb 2023 16:02 #265124 by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
In the ini, SUBROUTINE_PATH must point to the subroutine you call and must point to any subroutine that the subroutine calls.

So find where oqpocket.ngc is and add its path to the ini.

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

More
23 Feb 2023 17:02 #265127 by Dragonick
Replied by Dragonick on topic NCGGUI and QtDragon
I have it like that:qpocket.ngc is located at:

/home/cnc/linuxcnc/nc_files/ngcgui_lib/


ini file i have:

[DISPLAY]
NGCGUI_SUBFILE_PATH = ~/linuxcnc/nc_files/examples/ngcgui_lib
NGCGUI_SUBFILE = qpocket.ngc

[RS274NGC]
SUBROUTINE_PATH = :~/linuxcnc/nc_files/examples/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

NGCGUI_PREAMBLE = mm_std.ngc
NGCGUI_SUBFILE = slot.ngc
NGCGUI_SUBFILE = qpocket.ngcas

in the attachment it sees ngcgui but throws an error:
 
Attachments:

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

More
23 Feb 2023 17:54 #265130 by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
You answered your own question :)
The path of the folder with owpocket is not the same as

/home/cnc/linuxcnc/nc_files/ngcgui_lib/

:~/linuxcnc/nc_files/examples/ngcgui_lib

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

More
23 Feb 2023 17:58 #265131 by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
Sorry I'm at work on a phone so hard to type in more detail. Hopefully you can figure it out from there or someone else can fill in the details.

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

Moderators: cmorley
Time to create page: 0.101 seconds
Powered by Kunena Forum