halui.feed-override. doesn't exist

More
27 Feb 2021 12:31 #200287 by aleksamc
I want to connect button to yoipad button
net feed_ov_plus  halui.feed−override.increase <= input.0.abs-hat0x-is-pos
net feed_ov_minus  halui.feed−override.decrease <= input.0.abs-hat0x-is-neg

but I get error Pin 'halui.feed−override.increase' does not exist
I also added to main hal file
setp halui.feed-override.count-enable true
    setp halui.feed-override.direct-value true
    setp halui.feed-override.scale .1
What problem could be in? When I load such pin I see such pin

Warning: Spoiler!

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

More
27 Feb 2021 13:07 #200289 by chris@cnc
Could it be that your file joypad_xyz.hal not set in ini file?
It seems this file is not load at startup.

twopass:invoked with <> options
twopass:found ./cnc_freser.hal
twopass:found ./custom.hal

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

More
27 Feb 2021 13:11 - 27 Feb 2021 13:15 #200290 by Aciera
If all halui pins are missing:

Have you added halui to your config? One way to do that is to put this in the [HAL] section of your INI:
HALUI = halui

If only that one isn't being recognized:

Delete it and retype by hand. Don't copy and paste it from the man page. There have been instances where the hyphen (-) was not correctly recognized after copy/paste.

[edit]
Also this:
joypad_jog_speed.hal:11: Warning: File contains DOS-style line endings.

suggests that the file was edited in a word processor rather than a text editor. Maybe try to open the file in notebook or another pure text editor and save again.
Last edit: 27 Feb 2021 13:15 by Aciera.
The following user(s) said Thank You: aleksamc

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

More
27 Feb 2021 15:25 #200301 by aleksamc

If all halui pins are missing:

Delete it and retype by hand. Don't copy and paste it from the man page. There have been instances where the hyphen (-) was not correctly recognized after copy/paste.


Thanks, Aciera, (-) was my problem.

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

More
27 Feb 2021 15:58 #200305 by cmorley
where did you copy paste from?

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

More
27 Feb 2021 18:05 #200319 by aleksamc
It was copied from manual page for HALUI ( reference )

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

More
27 Feb 2021 18:16 - 27 Feb 2021 18:38 #200324 by cmorley
Looks like all HTML man pages (of at least HALUI but I bet all) use the wrong hyphen.

I will put an issue in the tracker.
The regular HTML docs are ok though i think the HALUi docs were removed in 2.8 - master is probably 99% the same:

linuxcnc.org/docs/devel/html/gui/halui.html
Last edit: 27 Feb 2021 18:38 by cmorley.

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

More
27 Feb 2021 18:37 #200327 by aleksamc
I use man page because it's very convinient, I simply type in google search "Halui linuxcnc" and found that page.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum