Pin 'halui.jog.0.minus'
22 Aug 2016 21:24 #79280
by nicokid
Pin 'halui.jog.0.minus' was created 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:In effect I have this Pin setting on the first row of my hal file:But as we see from my configuration halui is activated: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.
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
net my-jogxminus halui.jog.0.minus <= pyvcp.x-minus
...
[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
...
What did I do wrong?
Thanks, Nicola.
Please Log in or Create an account to join the conversation.
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.
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.
Please Log in or Create an account to join the conversation.
23 Aug 2016 22:31 #79343
by nicokid
Replied by nicokid on topic Pin 'halui.jog.0.minus'
Hi,
thanks for your answer
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.
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.
thanks for your answer
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.
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.
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
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.
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.
P.S. halui.axis.x.minus must be used with the lowercase x
Nicola.
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.
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.
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.
08 Dec 2018 17:38 #122055
by andypugh
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
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.080 seconds