Page 1 of 1

Momentary Buttons on X2Pro

Posted: Thu Apr 04, 2019 5:03 pm
by d_reibelt
I have now completed 5 different projects using beijer X2 screens. In each case i have encountered a runtime issue with buttons that use animations. including:
Multipicture, animated colour and conditional enabled states, along with security activation levels.

Randomly, it would seem that if any of these animations change during a hold event of these buttons, they seem to get stuck on. Particularly difficult to resolve in a momentary button scenario as spamming the button does not always them seem to release it.

Any advise? I really need fast responding momentary buttons with all kinds of permissions and animations.

Re: Momentary Buttons on X2Pro

Posted: Mon Apr 08, 2019 8:28 am
by AMitchneck
I don't know how easy this would be for you, but my solution was to place a transparent button over a multipicture. I then made a separate picture for every button state (pressed, not pressed, enabled, disabled, etc. - simplest method is to get these from the compiled output of your current button in the Temp folder and flip/rotate as appropriate so they are right side up) then had the multipicture change pictures based on the MouseDown, MouseUp, MouseEnter, and MouseLeave events of the transparent button along with other events in my code which changed the state of the button.

Re: Momentary Buttons on X2Pro

Posted: Tue Apr 09, 2019 5:20 pm
by d_reibelt
Adam, I like your solution, but I am under a requirement to limit code in the HMI.

I have hundreds of buttons across many screens, so any non-productive solution is simply not an option.

This situation has serious side effects in a production environment. Beijer, please address this.

Re: Momentary Buttons on X2Pro

Posted: Wed Oct 09, 2019 6:37 am
by Stianaj
d_reibelt: Have you tried submitted this as a support request?