When I use the home function to zero all the axes, I can't manipulate the jog mo

More
30 Jul 2021 05:46 #216306 by cmorley
look at hal_glib
github.com/LinuxCNC/linuxcnc/blob/2.8/lib/python/hal_glib.py

It has a function: do_jog.(self, axisnum, direction, distance=0)

You could use the hal_glib library in your code of just use it as an example.

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

More
30 Jul 2021 09:51 #216330 by yi2580
I use GTK. I think the link you sent me seems to be QT. I don't know if it is universal,
Thank you very much for your reply

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

More
30 Jul 2021 16:03 #216355 by cmorley
hal_glib is not qt only code.

it's used by gtk and qt.

If you look at the function I quoted you should be able to figure it out.

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

Time to create page: 0.326 seconds
Powered by Kunena Forum