Learning to work with new QTVCP screens and handler

More
13 Dec 2020 21:25 #191908 by cmorley
The problem with MDI_CALL_WAIT is it blocks the ui while it waits - so keep it short as practical

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

More
13 Dec 2020 23:34 #191924 by Pro_El
I find something i think is a problem with QTDragon build in Linuxcnc 2.9 with buster.
I run MDI Program and just i select with mouse from older commands in MDI and place cursor in MDI box it stops the MDI Execution. In Axis window it didn't stop and even if i execute second program in AXIS it finished first command and then go on with second command. I do not now if this is expected operation or not.
Thank you

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

More
14 Dec 2020 00:59 #191928 by cmorley
What version of linuxcnc are you using?
Was the AXIS version that same?

I see in master 'stacking' MDI commands stops the previous ones.
It didn't do this in linuxcnc 2.7 and I haven't tested 2.8 yet.

Stopping an MDI command by cursoring into MDI line is probably a qtvcp bug - I'll look into it.

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

More
14 Dec 2020 01:45 #191929 by cmorley
Sorry i see you said you are using 2.9.
I'm investigating - i have found a bug in 2.8 that causes stacked MDi commands to not work properly. it could be the total problem after all.

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

More
14 Dec 2020 03:19 #191938 by cmorley
ok i think i got it fixed in 2.8 and master.

next time you update, let me know if it's fixed.

Chris
The following user(s) said Thank You: tommylight, hottabich

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

More
15 Dec 2020 06:47 #192030 by hottabich
try in handlerfile

            if flag:
                if isinstance(receiver2, GCODE):
                    # if in manual or in readonly mode do our keybindings - otherwise
                    # send events to gcode widget
                    if STATUS.is_man_mode() == False or not receiver2.editor.isReadOnly():
                        if is_pressed:
                            receiver.keyPressEvent(event)
Please make these changes, they work, you suggested them to me. Thank you.

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

More
16 Dec 2020 03:51 #192099 by cmorley

try in handlerfile

            if flag:
                if isinstance(receiver2, GCODE):
                    # if in manual or in readonly mode do our keybindings - otherwise
                    # send events to gcode widget
                    if STATUS.is_man_mode() == False or not receiver2.editor.isReadOnly():
                        if is_pressed:
                            receiver.keyPressEvent(event)
Please make these changes, they work, you suggested them to me. Thank you.


pushed to 2.8
The following user(s) said Thank You: tommylight, hottabich

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

More
17 Dec 2020 23:31 #192282 by Pro_El
Sorry for late respond. Iv been able now to test your push in LCNC 2.9 with buster.
Now MDI is working like it should it finished the first command and even during execution of first command i enter second one the mdi finishes first and start second command. I think this is fixed now

You are great Chris
Bojan

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

More
17 Dec 2020 23:32 #192285 by cmorley
thank you for the report and update!

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

More
19 Dec 2020 03:26 #192418 by Pro_El
Hello Chris. Perhaps is not a issue but missing future maybe in QTVCP widgets. GCodeGraphic did not show rotary A axis visual. I tested same ini on Axis and on QT dragon on A axis and it show visual rotation of 360 deg only on Axis screen. In QTDragon it's standing and only DRO is counting for A axis. I put A axis DRO my self. Is this a missing function of GCodeGraphic or i am missing something.

Thanks Chris

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

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