- Configuring LinuxCNC
- Advanced Configuration
- Pin 'halui.estop.is−activated' does not exist, when clearly it does
Pin 'halui.estop.is−activated' does not exist, when clearly it does
12 Jul 2019 05:50 - 12 Jul 2019 05:52 #139143
by JetForMe
So, yeah. Not a file encoding issue. But I copy-pasted it from the documentation page, which actually has "−" in the HTML source, which ends up rendering a 3-byte UTF8 character, and not a hyphen. It probably should be "‐", but really, the source files should be encoded as UTF8 and just typed directly.
Thank you for noticing. I was editing the file in BBEdit on a Mac and it displayed it as a hyphen-looking thing, and I couldn't see anything amiss.
Replied by JetForMe on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
When I looked at your postgui file I see this on line 13 :
net e-stop-active <= halui.estop.is−activated
Chris M
So, yeah. Not a file encoding issue. But I copy-pasted it from the documentation page, which actually has "−" in the HTML source, which ends up rendering a 3-byte UTF8 character, and not a hyphen. It probably should be "‐", but really, the source files should be encoded as UTF8 and just typed directly.
Thank you for noticing. I was editing the file in BBEdit on a Mac and it displayed it as a hyphen-looking thing, and I couldn't see anything amiss.
Last edit: 12 Jul 2019 05:52 by JetForMe.
Please Log in or Create an account to join the conversation.
12 Jul 2019 05:58 #139144
by cmorley
Replied by cmorley on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
So that fixed the problem? - excellent - ya sometimes a new set of eyes...
Never cam across that error before.
Chris M
Never cam across that error before.
Chris M
Please Log in or Create an account to join the conversation.
12 Jul 2019 07:14 #139151
by JetForMe
Replied by JetForMe on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
Yup, totally fixed the problem. Not the problem inherent in the HTML docs, but the problem in my HAL file
Please Log in or Create an account to join the conversation.
12 Jul 2019 07:19 #139153
by pl7i92
Replied by pl7i92 on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
it is highly recomented to set your editor to utf-8
Please Log in or Create an account to join the conversation.
12 Jul 2019 07:23 #139155
by JetForMe
Replied by JetForMe on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
My editor *is* UTF-8. It can be argued that's what caused the problem. When I copied the pin name from the web docs, it was wrong, but it wasn't visibly wrong in a UTF-8 editor. An ASCII-only editor would've shown it as a set of garbage characters, as Chris M pointed out.
Please Log in or Create an account to join the conversation.
12 Jul 2019 08:56 #139159
by rodw
Replied by rodw on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
Which editor are you using? You can't go past Geany.
I am always very wary copying and pasting from a web site I often paste it into a ascii text editor before using it if I have any doubt.
I am always very wary copying and pasting from a web site I often paste it into a ascii text editor before using it if I have any doubt.
Please Log in or Create an account to join the conversation.
13 Jul 2019 00:51 #139222
by JetForMe
Replied by JetForMe on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
It's the LinuxCNC website! It's just generated badly (either the source material or the HTML generator is wrong).
Please Log in or Create an account to join the conversation.
13 Jul 2019 07:13 #139235
by pl7i92
Replied by pl7i92 on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
you shoudt prefer the pdf Documentation on all stuff
as best you can use it direct on the mashine side
as best you can use it direct on the mashine side
Please Log in or Create an account to join the conversation.
15 Jul 2019 13:59 - 15 Jul 2019 14:01 #139430
by andypugh
FWIW I agree with you here. Code snippets in the docs should work.
Which page of the html docs did you get it from?
Replied by andypugh on topic Pin 'halui.estop.is−activated' does not exist, when clearly it does
It's the LinuxCNC website! It's just generated badly (either the source material or the HTML generator is wrong).
FWIW I agree with you here. Code snippets in the docs should work.
Which page of the html docs did you get it from?
Last edit: 15 Jul 2019 14:01 by andypugh.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- Pin 'halui.estop.is−activated' does not exist, when clearly it does
Time to create page: 0.288 seconds