Jog Speed slider

More
4 years 6 months ago #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?

Please Log in to join the conversation.

More
4 years 6 months ago #241070 by RGH
Replied by RGH 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 to join the conversation.

More
4 years 6 months ago #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 to join the conversation.

More
4 years 6 months ago #241103 by RGH
Replied by RGH 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 to join the conversation.

More
4 years 6 months ago #241108 by crashobby
Replied by crashobby on topic Jog Speed slider
Ok. I'm going to try there. thank you.

Please Log in to join the conversation.

More
4 years 6 months ago #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 to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum