'clicking' checkbox on pyvcp from gcode

More
9 years 3 months ago #95932 by Todd Zuercher

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

More
9 years 3 months ago - 9 years 3 months ago #95989 by MadGuest

Todd Zuercher wrote: I did something a little like this here.
forum.linuxcnc.org/48-gladevcp/30365-options#70166

Thanks. But I'd like to stay with pyvcp. After some reading on this forum I've checked again and figured out that command "setp pyvcp.my-checkbutton.changepin 1" works fine. So now i need to understand the way how can I use it in gcode.
Last edit: 9 years 3 months ago by MadGuest.

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

More
9 years 3 months ago #96009 by Todd Zuercher
There are a number of ways I think you could, You could setp it using a User Defined M-code (probably the simplest way), trigger it with another hal pin such as motion.digital-out-NN.

One really nice thing about glade vs pyvcp, is you can make the buttons look like big ordinary buttons, rather than just little tiny check mark dots.

But it does seem to lack that hal changepin part, that you have to add manually with the python file when using glade.

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

Time to create page: 0.324 seconds
Powered by Kunena Forum