Pin 'halui.jog.0.minus'

More
22 Aug 2016 21:24 #79280 by nicokid
Hi,
I started to play again with LinuxCNC after a couple of months ago I mistakenly destroyed my configuration (git clone in mi home :( )
Now I get this error:
Pin 'halui.jog.0.minus' does not exist
In effect I have this Pin setting on the first row of my hal file:
net my-jogxminus halui.jog.0.minus <= pyvcp.x-minus
But as we see from my configuration halui is activated:
...
[HAL]
HALUI=halui
HALFILE = stepcraft-840.hal
#HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal

[HALUI]
MDI_COMMAND = G54 G10 L20 P1 x0 M100
...
in effect on the function halpr_find_pin_by_name (hal_lib.c) there is no trace of pin halui.jog.0.minus.
What did I do wrong?
Thanks, Nicola.

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

More
23 Aug 2016 11:20 - 23 Aug 2016 11:21 #79301 by andypugh
Replied by andypugh on topic Pin 'halui.jog.0.minus'
Which version of LinuxCNC?

In Master the pins are now halui.joint.0.minus and halui.axis.X.minus depending on what you want to jog.
Last edit: 23 Aug 2016 11:21 by andypugh.
The following user(s) said Thank You: nicokid, jbar

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

More
23 Aug 2016 22:31 #79343 by nicokid
Replied by nicokid on topic Pin 'halui.jog.0.minus'
Hi,
thanks for your answer :cheer:
I use the git version. In fact I had suspected this thing but looking on the web I did not find any reference to this change. :blink:
I think I need of halui.axis.X.minus, I want to try this: linuxcnc.org/docs/2.4/html/hal_pyvcp_examples.html
So instead of halui.jog-speed should I use halui.axis.jog-speed?
Nicola.

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

More
23 Aug 2016 23:03 #79344 by andypugh
Replied by andypugh on topic Pin 'halui.jog.0.minus'
The pins are all documented here:
linuxcnc.org/docs/devel/html/man/man1/halui.1.html

But be aware that halui is _not_ realtime. If you are using physical buttons then it is better to use motion pins where possible:
linuxcnc.org/docs/devel/html/man/man9/motion.9.html
The following user(s) said Thank You: nicokid

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

More
24 Aug 2016 17:16 #79366 by nicokid
Replied by nicokid on topic Pin 'halui.jog.0.minus'
Uhm...I do not see anything useful in motion. :dry:

P.S. halui.axis.x.minus must be used with the lowercase x
Nicola.

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

More
08 Dec 2018 16:23 #122054 by jbar
Replied by jbar on topic Pin 'halui.jog.0.minus'
The manual page 793/794 shows jog instead of joint. Should that be changed?
ie should a command such as halui.jog.0.plus
be changed to halui.joint.0.plus ??
After reading this thread, I changed from ...jog.. to ...joint... and it solved my problem.

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

More
08 Dec 2018 17:38 #122055 by andypugh
Replied by andypugh on topic Pin 'halui.jog.0.minus'

The manual page 793/794 shows jog instead of joint. Should that be changed?.


Yes, it should be changed to mention both the axis and joint versions of the jog pins.
The offending text is here:
github.com/LinuxCNC/linuxcnc/blob/b948db...rc/gui/halui.txt#L76
And needs to be changed to match the definitive list here:
linuxcnc.org/docs/devel/html/man/man1/halui.1.html

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

Time to create page: 0.129 seconds
Powered by Kunena Forum