Qtvcp GUI and hal pins

More
10 Nov 2024 05:24 #314174 by Levi
Qtvcp GUI and hal pins was created by Levi
Im not quite understanding how hal pins are associated with a gui button. if i look a qtdragon is there a simple way to look at say the estop and see what pins are directly associated with it? Or in axis there is axisui.jog.increment pin and i can use this to make my mpg work by outputting the scale but i don't see anything like this in qtdragon. Would this pin have to be added in the qtdragon handler file like the other qtdagon specific pins? In 12.5.4 Build A Simple Clean-sheet Custom Screen stops short of giving examples of the pins. The widigits look to hove some pins as part of them, is the manual the only way to see, how does this end come together?

Can anyone give me some direction, Thanks.p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }

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

More
11 Nov 2024 02:10 #314224 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
Unfortunately I guess the short answer is no, there is not an easy way to see what pins the widgets create. I should try to add it to the docs I guess.

Qtdragon use the widget pins but also makes quite a few of it's own pins in the handler file.

A increments HAL pin would be a good pin to add to qtdragon.

Chris

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

More
13 Nov 2024 04:49 #314364 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
If you are using master branch - I added jog increment pins:

qtdragon.jog-linear-increment
qtdragon.jog-angular-increment
The following user(s) said Thank You: Roguish, tommylight, Levi

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

More
01 Jan 2026 16:52 #340839 by jossen
Replied by jossen on topic Qtvcp GUI and hal pins
Hello Chris, i would really like the jog increment pins qtdragon.jog-linear-increment and qtdragon.jog-angular-increment. But i cannot find them, I'm running LinuxCNC 2.9.7. I have also searching through the master branch of QTDragon-HD, without luck.

How could I get the latest version of QTDragon-HD installed to my LinuxCNC?

Br. John

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

More
01 Jan 2026 23:08 #340862 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
in your config folder there will be a set of folders: qtvcp/screens/qtdragon_hd/
in that last folder add the file 'qtdragon_hd_handler.py' that I have uploaded here.

It will give you the pins you asked for.

The developed version will be in master branch.
as for 2.9 - I think 2.9.8 was just released.

If you are using an installed version, it should be update-able.
 
Attachments:

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

More
23 Apr 2026 16:18 #345878 by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
I've tried using qtdragon hal bridge function in every way possible, but it's not working. According to qtdragon documentation, if I understand correctly, if I define HALBRIDGE = hal_bridge
and also define a macro in the MDI_COMMAND_LIST in de INI file, qtdragon creates other pins that I can access through halbrdge , but these never appear in hal Show. I also understand that these pins related to the created macros can be accessed through external buttons, but unfortunately, there's no documentation on how to do this. In my configuration, I control some functions through external buttons connected to halbridge but for other functions, such as activating a macro, I can't, or I don't know how to, do it with halbridge.

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

More
24 Apr 2026 04:14 #345893 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
Have you run linuxcnc from a terminal so you can see any errors?
you need python3-zmq package on the system.

macros are defined under heading:
[DISPLAY]
MACRO=
MACRO=

I'll have to check later to confirm all work properly.

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

More
24 Apr 2026 16:56 #345898 by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
Thanks for you support.
I've already installed the python3-zmq package, but it's not clear to me how to include a macro. Could you help me with an example to complete it?
MACRO=
MACRO=
And how to connect these macros to an external button

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

More
25 Apr 2026 15:48 #345919 by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
Yes it seems external running of macros is broken. I will fix it asa I can.

Question though, Macro/MDI commands are not well defined terms , when you say macro, do you mean like Gmoccapy macros where you can have variables that you enter at request time?
The following user(s) said Thank You: COFHAL

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

More
25 Apr 2026 17:18 #345922 by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
I am referring to executing an instruction like this G0 Z25;X0 Y0;Z0 or some OWord routines through external buttons, and I am referring to instructions not included in HALUI.

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

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