- User Interfaces
- Other User Interfaces
- When I use the home function to zero all the axes, I can't manipulate the jog mo
When I use the home function to zero all the axes, I can't manipulate the jog mo
- cmorley
- Away
- Moderator
-
Less
More
- Posts: 7864
- Thank you received: 2122
30 Jul 2021 05:46 #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 or Create an account to join the conversation.
- yi2580
- Offline
- Elite Member
-
Less
More
- Posts: 161
- Thank you received: 3
30 Jul 2021 09:51 #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 or Create an account to join the conversation.
- cmorley
- Away
- Moderator
-
Less
More
- Posts: 7864
- Thank you received: 2122
30 Jul 2021 16:03 #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 or Create an account to join the conversation.
- User Interfaces
- Other User Interfaces
- When I use the home function to zero all the axes, I can't manipulate the jog mo
Time to create page: 0.049 seconds