Category: Flex GUI
Cool, that oughtta do it. I'll update my Flexgui as soon as I get done messing with HAL,
Having a little trouble with the GUI Estop. I have a hardware Estop as well, connected to halui. Both the GUI and the hard Estop work perfectly as long as I'm using one or the other. The hard Estop triggers the GUI just the same as the GUI Estop does.
The problem occurs when I have the hardware Estop set and push the GUI Estop button, the UI Estop will unset the Estop condition. Not quite sure how I stop that from happening.
Heres my HAL connections:
[code]##Estop Connections
net estop-NO-switch => halui.estop.activate
net estop-NO-switch => oneshot.estop.in #Oneshot triggers reset from hardware Estop release
net estop-out <= iocontrol.0.user-enable-out
net estop-out => iocontrol.0.emc-enable-in
#net estop-out => motion.enable
net estop-reset <= oneshot.estop.out
net estop-reset => halui.estop.reset
net estop-in <= halui.estop.is-activated
net estop-in => flash.estop.enable
net estop-led <= flash.estop.out
setp flash.estop.hold-prec false
setp flash.estop.hold-prec-inv false
setp flash.estop.hold false
setp flash.estop.flash-rate-ms 500
setp oneshot.estop.width 0.5
setp oneshot.estop.retriggerable false
setp oneshot.estop.rising false
setp oneshot.estop.falling true
[/code]
Just noticed another issue. I have the UI Estop button colors set in the ini file. If I ignore the hardware Estop, the button colors change as expected with Estop and power. If I set the hardware Estop, the UI states work fine, and the button labels change, but the button colors don't change.
Also, just tried the multi-state label. I can't get the hal pin to show up, am I doing something wrong?