Jog Speed slider

More
23 Apr 2022 16:14 - 23 Apr 2022 16:20 #241003 by crashobby
Jog Speed slider was created by crashobby
Hello.
I'm learning linuxcnc hard and i need also this global jog speed in my machine.
I'm using gmoccapy and i'm thinking that is it possible to use gmoccapy.spc_lin_jog_vel.value pin for this and if it is, how?
Last edit: 23 Apr 2022 16:20 by crashobby.

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

More
24 Apr 2022 14:57 #241070 by Nebur
Replied by Nebur on topic Jog Speed slider
I'm sorry - can't really help with gmoccapy. Never used it.
But a quick look into the code (gmoccapy.py) reveals the method _make_hal_pins(self) where the hal pins are created and there is an in-pin
gmoccapy.jog.jog-velocity.direct-value. The naming suggests it could be what you are looking for.

 

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

More
24 Apr 2022 17:21 #241089 by crashobby
Replied by crashobby on topic Jog Speed slider
Thank you for the reply!
I'm sorry that i make this in axis forum but i didn't find any other thread about.
I have same situation that i want gui slider to adjust also physical jog buttons jog speed. I think gmoccapy.jog.jog-velocity.direct-value is made for oppsite, like physical button control the slider.

gmoccapy.spc_lin_jog_vel.value pin gives me the slider value out but i don't know how to connect it to halui.axis.jog-speed or is it even possible that way?

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

More
24 Apr 2022 19:58 #241103 by Nebur
Replied by Nebur on topic Jog Speed slider
I would suggest to just open a dedicated thread.
You're much more likely to get the attention of somebody that is familiar with gmoccapy than here, hidden in a thread about axis specifics.

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

More
24 Apr 2022 20:09 #241108 by crashobby
Replied by crashobby on topic Jog Speed slider
Ok. I'm going to try there. thank you.

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

More
26 Apr 2022 12:24 #241285 by crashobby
Replied by crashobby on topic Jog Speed slider
Thank you for moving this thread to gmoccapy.

I found solution. I connect gmoccapy.jog.axis.jog-N-plus and minus to my physical buttons in gmoccapy_posgui.hal file and evertyhing start work now like i wanted.

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

Moderators: newbynobi
Time to create page: 0.308 seconds
Powered by Kunena Forum