- Posts: 13
- Thank you received: 0
POSTGUI_HALFILE executed to early?
6 years 8 months ago #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 to join the conversation.
6 years 8 months ago #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
Please Log in to join the conversation.
6 years 8 months ago #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
Please Log in to join the conversation.
Time to create page: 0.296 seconds
