Qtvcp GUI and hal pins

More
6 months 4 days ago #345963 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
I pushed some changes to master to fix this and much other stuff.

The fix for running macros with a button was two characters in the handler file.
If you just want to edit your's directly let me know and I'll give instructions.

I also added to the online docs to help.

Thanks for the report and please let me know if this is fixed for you.

Please Log in to join the conversation.

More
6 months 3 days ago #345993 by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
Thank you so much for your support. You mentioned updating that on the main branch; I imagine you mean linuxcnc. How can I access those changes?
And if you could help me so I could make some modifications myself, I would appreciate it.

Please Log in to join the conversation.

More
6 months 2 days ago #346013 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
How did you get linuxcnc originally? What version are you using?
What mods would you like to do?

Please Log in to join the conversation.

More
6 months 2 days ago #346025 by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
I'm using the latest available version of LNC 2.9. I regularly update my system, and the LNC version updates automatically. I initially installed it from the official ISO and also the DE.

Please Log in to join the conversation.

More
6 months 1 day ago #346051 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
hmm linuxcnc 2,9 doesn't have the hal_bridge component nor a way to use it.

That may be why it wasn't working too :)

Could probably get it to work in 2.9, but it would take some experimenting.

Please Log in to join the conversation.

More
6 months 1 day ago #346057 by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
with which version of LNC is it possible to use the hal_bridge component?

Please Log in to join the conversation.

More
6 months 20 hours ago #346060 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
The easiest is master branch aka 2.10.

Please Log in to join the conversation.

More
5 months 4 weeks ago #346088 by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
Indeed, with Linuxcnc version 2.10, the HAL Bridge works and the Bridge pins now appear. Interestingly, in the QTDRAGON configuration examples, the macros and MDI-Command-macro are defined in the ini file, but the instruction HALBRIDGE=hal_bridge is not defined in [HAL]. It would be good to update the configuration to include it.

Please Log in to join the conversation.

More
5 months 4 weeks ago #346106 by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
I can now call macros with external buttons, but unlike the buttons created and displayed on the main screen, which automatically switch QTDRAGON to MDI when clicked, with external buttons you have to manually switch to MDI for them to run. Another problem I'm having is that it can't execute macros defined as `O <XXXXXXXXX> call`. The status screen always shows "File not open," and the terminal debugs this error:

[QTvcp.QTVCP.WIDGETS.ACTION_BUTTON][DEBUG] INI MDI COMMAND #: 7 (action_button.py:717)
[QTvcp.QTVCP.QT_ACTION][DEBUG] COMMAND= O <touch_plate_z> call (qt_action.py:234)
[QTvcp.QTVCP.QT_ACTION][DEBUG] CALL_INI_MDI command:O <touch_plate_z> call (qt_action.py:249)
emc/task/emctask.cc 70: interp_error: File not open
File not open
The path where the macros are executed is defined in SUBROUTINE_PATHS= There are .ngc files to run those macros.

Please Log in to join the conversation.

More
5 months 3 weeks ago #346139 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
Ok I pushed work to master to allow selecting auto switch to MDI for macro buttons and HAL pin macros on Qtdragon's setting page.

I didn't get a change to push it to the other Qtdragon variations.
I have not looked into the O word problem yet.

Please Log in to join the conversation.

Time to create page: 1.403 seconds
Powered by Kunena Forum