Hi, I found this old thread, and I'm looking for a HAL pin output that notifies me when a message appears in the AXIS guide, any idea if it exists? does not exist.
I have to create a new output pin, I must look at the file
Code:
./src/emc/usr_intf/axis/scripts
Code:
if hal_present == 1:
comp = hal.component ("axisui")
comp.newpin ("jog.x", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("jog.y", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("jog.z", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("jog.a", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("jog.b", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("jog.c", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("jog.u", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("jog.v", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("jog.w", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("jog.increment", hal.HAL_FLOAT, hal.HAL_OUT)
comp.newpin ("notifications-out", hal.HAL_BIT, hal.HAL_OUT)
comp.newpin ("notifications-clear", hal.HAL_BIT, hal.HAL_IN)
comp.newpin ("notifications-clear-info", hal.HAL_BIT, hal.HAL_IN)
comp.newpin ("notifications-clear-error", hal.HAL_BIT, hal.HAL_IN)
comp.newpin ("resume-inhibit", hal.HAL_BIT, hal.HAL_IN)
added this line
Code:
comp.newpin ("notifications-out", hal.HAL_BIT, hal.HAL_OUT)
now I must connect it, I guess I should look at the
Code:
class Notification (Tkinter.Frame):
but I don't have much experience in phyton, if someone can guide me or help me ?, thanks
greeting
Chimeno