144 views
in Embedded Wizard Studio by
How to repeat the Gauge movement in a Loop. I have designed a gauge to move from 1 to 100 scale. i want it to move back & forth continuously.

1 Answer

0 votes
by

Hello,

the simplest approach is to use the Change Int32 Effect. With this effect you configure an animation to 'animate' an int32 value. You can configure the start, the end value, the duration of the animation and how often it should repeat. If you want the effect to animate forth & back, you can configure the effect to be symmetric. For example, following parameters configure an effect to run endless in range 1 .. 100, forth and back. One animation cycle (forth <-> back) take 1000 ms:

Now you connect the effect with the Gauge's property CurrentValue. For this purpose, click on the triangle icon right to the Outlet property of the effect and select the property CurrentValue of the gauge object. For example:

The effect will control now the referred property.

I hope it helps you further.

Best regards

Paul Banach

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...