Momentary Buttons on X2Pro

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
d_reibelt
Posts: 9
Joined: Mon Jun 18, 2018 6:12 pm

Momentary Buttons on X2Pro

Post 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.

AMitchneck
Posts: 137
Joined: Mon Jun 11, 2012 2:10 pm

Re: Momentary Buttons on X2Pro

Post 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.
Adam M.
Controls Engineer
FlexEnergy

d_reibelt
Posts: 9
Joined: Mon Jun 18, 2018 6:12 pm

Re: Momentary Buttons on X2Pro

Post 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.

Stianaj
Posts: 2
Joined: Wed Oct 09, 2019 6:09 am

Re: Momentary Buttons on X2Pro

Post by Stianaj »

d_reibelt: Have you tried submitted this as a support request?
Stian A. Jensen
Beijer Sales team Norway

Post Reply