DIPLAY = halui error
25 Apr 2020 19:44 #165571
by prochj51
DIPLAY = halui error was created by prochj51
Hi,
I want to use LinuxCNC from command line so I want no axis gui. I have read
that I have to change DISPLAY = axis to DISPLAY = halui.
When I run this configuration I get error:
HAL: ERROR: duplicate component name 'halui'
HALUI: ERROR: hal_init() failed
I suppose that is because of the line
HALUI = halui
So when I comment it out, I get pin related error
./my_LinuxCNC_machine.hal:229: Pin 'halui.axis.x.select' does not exist
Would you know how I can overcome this?
Thank you
Jiri
I want to use LinuxCNC from command line so I want no axis gui. I have read
that I have to change DISPLAY = axis to DISPLAY = halui.
When I run this configuration I get error:
HAL: ERROR: duplicate component name 'halui'
HALUI: ERROR: hal_init() failed
I suppose that is because of the line
HALUI = halui
So when I comment it out, I get pin related error
./my_LinuxCNC_machine.hal:229: Pin 'halui.axis.x.select' does not exist
Would you know how I can overcome this?
Thank you
Jiri
Please Log in or Create an account to join the conversation.
25 Apr 2020 23:11 #165587
by cmorley
Replied by cmorley on topic DIPLAY = halui error
try adding the path to the INI file.
DISPLAY = halui -ini path/to/INI
DISPLAY = halui -ini path/to/INI
Please Log in or Create an account to join the conversation.
26 Apr 2020 13:25 #165662
by prochj51
Replied by prochj51 on topic DIPLAY = halui error
Thanks for response.
Still says duplicate component.
I use LinuxCNC master branch.
Jiri
Still says duplicate component.
I use LinuxCNC master branch.
Jiri
Please Log in or Create an account to join the conversation.
26 Apr 2020 19:01 #165678
by cmorley
Replied by cmorley on topic DIPLAY = halui error
try removing the HALUI=halui
Please Log in or Create an account to join the conversation.
26 Apr 2020 19:26 #165681
by prochj51
Replied by prochj51 on topic DIPLAY = halui error
then it says
./my_LinuxCNC_machine.hal:229: Pin 'halui.axis.x.select' does not exist
I am attaching both ini and hal
./my_LinuxCNC_machine.hal:229: Pin 'halui.axis.x.select' does not exist
I am attaching both ini and hal
Please Log in or Create an account to join the conversation.
27 Apr 2020 01:25 #165734
by cmorley
Replied by cmorley on topic DIPLAY = halui error
Well I tested and you can indeed load haui in the DISPLAY= entry.
My guess is that it doesn't wait till the halui component to finish before loading the HAL files, so the halui pins are not ready yet.
I would suggest finding a program you can load in the DISPLAY= entry that doesn't really matter and then continue loading halui in the HALUI=halui
My guess is the DISPLAY program must not end until you want linuxcnc to end.
My guess is that it doesn't wait till the halui component to finish before loading the HAL files, so the halui pins are not ready yet.
I would suggest finding a program you can load in the DISPLAY= entry that doesn't really matter and then continue loading halui in the HALUI=halui
My guess is the DISPLAY program must not end until you want linuxcnc to end.
Please Log in or Create an account to join the conversation.
27 Apr 2020 11:29 #165801
by prochj51
Replied by prochj51 on topic DIPLAY = halui error
Yes,
thank you.
I made custom script myscript.py and I call
DISPLAY = myscript.py
works fine.
Thanks again.
Jiri
thank you.
I made custom script myscript.py and I call
DISPLAY = myscript.py
works fine.
Thanks again.
Jiri
Please Log in or Create an account to join the conversation.
28 Apr 2020 01:21 #165886
by cmorley
Replied by cmorley on topic DIPLAY = halui error
great! could you share your program for the next person?
Please Log in or Create an account to join the conversation.
Time to create page: 0.125 seconds