I think yes in some situation i get same error, the driver is not perfect, you welcome for propose change.
"whb.halui.machine.is-on" of course this signal need to be linked with your machine "halui.machine.is-on".
If you have set correctly your hal :
[HAL]
#******************************************
HALUI = halui
HALFILE = xhc-whb04b-6-.hal
and ini :
[HALUI]
#******************************************
# add halui MDI commands here (max 64)
# halui.mdi-command-00:
etc...
I have do my best for allow the pendant hal file to work witout any change except if you already use some signal in your config.
I have
only two line changed in my own xhc hal due to my particular setup :
(changed not just removed !!)
Code:
#net spindle.is-on whb.halui.spindle.is-on halui.spindle.0.is-on
net spindle-orient-enable-out whb.halui.spindle.is-on # connected to halui.xxx in my main.hal
#net pdnt-program.is-running whb.halui.program.is-running halui.program.is-running
net program-is-running whb.halui.program.is-running # connected to halui.xxx in my main.hal