MDI calls from qtvcp
24 Apr 2023 08:29 #269737
by cmorley
Your code example does more then call an MDI code.ACTION.CALL_MDI('G0 X2000 Y6000')
should set linuxcnc into MDI mode if it is not and then run the command to the end without blocking.
Replied by cmorley on topic MDI calls from qtvcp
You'll have to give specifics why the action library doesn't work for you. it is specifically made to make things easier, consistent and future proof.thank you for your responses. the actions from qtvcp are based on the actions of linuxcnc.py and inherit all of its problems and even multiply them in some cases. in view of which the actions from qtvcp do not simplify the task in any way.
the code that I need to execute is just "G0X2000Y6000" so that the portal goes to the end of the working field
Your code example does more then call an MDI code.ACTION.CALL_MDI('G0 X2000 Y6000')
should set linuxcnc into MDI mode if it is not and then run the command to the end without blocking.
Please Log in or Create an account to join the conversation.
26 Apr 2023 13:39 #269978
by daiman444
Replied by daiman444 on topic MDI calls from qtvcp
You are the best!You could try something like this:
ACTION.CALL_MDI('G0 X2000 Y6000') while not STATUS.is_interp_idle(): self.w.gcodegraphics.updateGL() QApplication.processEvents()
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.061 seconds