Animations in ignition

I am making an application in vision, but when a button is pressed almost immediately it writes to the plc, but the button animation takes about a second, how can I reduce the animation time?

You are using a standard button component? If so, is there something in your button script that's bogging down the gui?

1 Like

I'm using a toggle button, but the color animation is too late.

and in the software we're migrating, the animation is almost instantaneous and I'd like to replicate it in Ignition. but I can't find how to remove the delay.

How are you triggering the animation; is it with a binding or is it scripted? How are you writing the value to the OPC tag?

When the selected property changes state, the color change should be instantaneous. Can you tell if there is a delay in changing the selected property? I imagine the fastest way would be to bind the selected property directly to Boolean tag value.

1 Like

How often is your driver reading the PLC to confirm the written value? Consider using a tag group that has optimistic writes turned on.

3 Likes

to animate the button I bind it in the following way in the backgraund property

the tags I use are opc

Perhaps change this to a property binding, and tie it directly to the toggle button's selected property: assuming that the selected property is what is driving your tag value.

1 Like

Tengo otra duda y si mi animación depende de un tag opc, que no tiene un botón de alternancia como puedo aumentar la velocidad de lectura?

Deberías revisar esta información:
Tag Groups

Como se sugirió anteriormente: si no puede configurar su ['polling rate'] lo suficientemente rápido para obtener el resultado que desea, puede usar ['optimistic writes'] para simular una lectura instantánea.

#=====================

Google Translate:

You should review this information:
Tag Groups

As suggested above: if you can't set your polling rate fast enough to get the result you want, you can use optimistic writes to simulate an instant read.

1 Like