- Posts: 6803
- Thank you received: 0
When I use the home function to zero all the axes, I can't manipulate the jog mo
5 years 3 months ago #216306
by cmorley
Replied by cmorley on topic When I use the home function to zero all the axes, I can't manipulate the jog mo
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.
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 to join the conversation.
5 years 3 months ago #216330
by yi2580
Replied by yi2580 on topic When I use the home function to zero all the axes, I can't manipulate the jog mo
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
Thank you very much for your reply
Please Log in to join the conversation.
5 years 3 months ago #216355
by cmorley
Replied by cmorley on topic When I use the home function to zero all the axes, I can't manipulate the jog mo
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.
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 to join the conversation.
Time to create page: 0.035 seconds
