POSTGUI_HALFILE executed to early?
09 Feb 2020 11:31 #156865
by romeofox
POSTGUI_HALFILE executed to early? was created by romeofox
Hello,
I have just switched to LinuxCNC 2.9
Now I get errors due to not existing signals, which are generated in a Glade-TAB and are included in the .ini via a separate HAL file using POSTGUI_HALFILE.
mymill.ini:
[DISPLAY]
EMBED_TAB_NAME=User
EMBED_TAB_LOCATION = ntb_preview
EMBED_TAB_COMMAND=gladevcp -x {XID} user.glade
...
[HAL]
POSTGUI_HALFILE = user.hal
If I comment out the line from the user.hal LinuxCNC starts without problems.
Is there a trick to it?
Best wishes
Robert
I have just switched to LinuxCNC 2.9
Now I get errors due to not existing signals, which are generated in a Glade-TAB and are included in the .ini via a separate HAL file using POSTGUI_HALFILE.
mymill.ini:
[DISPLAY]
EMBED_TAB_NAME=User
EMBED_TAB_LOCATION = ntb_preview
EMBED_TAB_COMMAND=gladevcp -x {XID} user.glade
...
[HAL]
POSTGUI_HALFILE = user.hal
If I comment out the line from the user.hal LinuxCNC starts without problems.
Is there a trick to it?
Best wishes
Robert
Please Log in or Create an account to join the conversation.
09 Feb 2020 16:49 #156890
by persei8
Replied by persei8 on topic POSTGUI_HALFILE executed to early?
Maybe this is relevant?
forum.linuxcnc.org/24-hal-components/324...nent-execution-order
forum.linuxcnc.org/24-hal-components/324...nent-execution-order
The following user(s) said Thank You: romeofox
Please Log in or Create an account to join the conversation.
09 Feb 2020 20:38 #156904
by cmorley
Replied by cmorley on topic POSTGUI_HALFILE executed to early?
use the -H option in gladevcp to add a HAL for the gladevcp panel.
linuxcnc.org/docs/2.7/html/gui/gladevcp....command_line_options
and in that HAL file connect only gladevcp pins to signals, then in the postgui file connect only the other pins to those signals - in that way it doesn't matter what pins are made first.
ie gladevcp HAL file:
net my_signal gladevcp-led
in postgui file:
net my_signal some-linuxcnc-driving-pin
linuxcnc.org/docs/2.7/html/gui/gladevcp....command_line_options
and in that HAL file connect only gladevcp pins to signals, then in the postgui file connect only the other pins to those signals - in that way it doesn't matter what pins are made first.
ie gladevcp HAL file:
net my_signal gladevcp-led
in postgui file:
net my_signal some-linuxcnc-driving-pin
The following user(s) said Thank You: romeofox
Please Log in or Create an account to join the conversation.
23 Feb 2020 17:25 - 23 Feb 2020 17:25 #158313
by romeofox
Replied by romeofox on topic POSTGUI_HALFILE executed to early?
That's how it works, thank you cmorley!
Last edit: 23 Feb 2020 17:25 by romeofox.
Please Log in or Create an account to join the conversation.
Time to create page: 0.066 seconds