Add Buttons in Probe Basic

More
8 months 2 weeks ago #343049 by DerKlotz
Hello,
i need some buttons in Probe basic which activates outputs from my Mesa 7i76e. The attached photo show what i need. 
I found /user_buttons/template_user_buttons/template_user_buttons.ui (attached). Would that a nice place add the buttons. But so far i don´t know how to start the ui ind Probe Basic GUI.

Best regards
 

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

More
8 months 2 weeks ago - 8 months 2 weeks ago #343076 by Lcvette
Replied by Lcvette on topic Add Buttons in Probe Basic
You can add to the user tab and turn it on in the initial file, this is covered in the docs

kcjengr.github.io/probe_basic/update_notes.html
Last edit: 8 months 2 weeks ago by Lcvette.

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

More
8 months 2 weeks ago #343102 by DerKlotz
Replied by DerKlotz on topic Add Buttons in Probe Basic
Great, i´ll check tomorrow.

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

More
8 months 1 week ago - 8 months 1 week ago #343219 by DerKlotz
Replied by DerKlotz on topic Add Buttons in Probe Basic
Hello,I've been working on this for the last few days and now understand how to add switches graphically under user_buttons/template_main/template_main.ui (see attached photo).However, I don't know how to link the light switch to the output of my Mesa 7i76e, for example. I tried to implement net light => hm2_7i76e.0.7i76e.0.0.output-02 <= qtpyvcp.light in my postgui_hal. Unfortunately, that didn't work. What am I overlooking as a newbie? 
And in addition i´d like to have a nice looking Led right to the button. Red = off, green = on. I could not find one in QT Designer. Alternatively, the button itself could change from red to green.

Translated with DeepL.com (free version)
Last edit: 8 months 1 week ago by DerKlotz.

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

More
8 months 1 week ago #343246 by Lcvette
Replied by Lcvette on topic Add Buttons in Probe Basic
On the probe page in qt designer, there is a button where the probe to is and the output from linuxcnc goes to the led on the probe graphic, use that as a template

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

More
8 months 1 week ago - 8 months 1 week ago #343254 by DerKlotz
Replied by DerKlotz on topic Add Buttons in Probe Basic
You mean that led at the attached photo? I can´t find a probe section in QT Designer or do i need to be in Probe Basic Development modus instaed of stable?

And can you help me here -> 
However, I don't know how to link the light switch to the output of my Mesa 7i76e. I tried to implement "net light => hm2_7i76e.0.7i76e.0.0.output-02 <= qtpyvcp.light" in my postgui_hal. Unfortunately, that didn't work.

 
Last edit: 8 months 1 week ago by DerKlotz.

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

Moderators: KCJ, Lcvette
Time to create page: 0.240 seconds
Powered by Kunena Forum