View Categories

Effects

With effects, you can add dynamic effects to your graphic objects, as described in the previous chapter (see the difference between Animations and Effects)

Effects make the graphic visualization less static, and their function is similar to animations. However, they do not reflect the real state of a technological process.  We advise using the animations for visualization of a precious technology state and use the effects to visualize the real-time change of objects.

The states of objects during animating are based on actual values obtained from the PLC. For example, the motor rotation visualized through the Animations behaves according to the values obtained from the PLC, but the rotation visualized with the Effects is based on the values set by you and will use the “hard” data only as a trigger.

b. Select the object you want to set effects on and you can either click on effect icon in the top right corner toolbar or either you can click on „anims“ and at the first place you can select effects

14.16.1

2. Now you have a several options what you can do, you can select out of 2 most used effects which are blinking and rotation these can be simply set by clicking on the one we want. On the screenshot we have set Modbus tag which will trigger rotation when the tag value is 0 or 1.

Same can be done with blinking effect if the value of tag H:0@modbus will be 0 or 1 component will start blinking at medium speed.

If none of these options won’t fit your needs you can simply click on advanced and make your own effect or select out of several more options which mySCADA offers to you.

Selecting an effect. #

To select an effect, simply click on it. When you click on effect, it is highlighted and you are presented with effects’ properties on the right side of the effects window:

Effects’ Properties: #

Trigger – Triggers effect on certain options (click, tag, mouseover etc,…)

Timing – Duration specifies the duration of the effect itself, loops specifies how many loops will effect do (There is also forever option so as an example if the tag will trigger the effect, the effect will be active until tag value won’t trigger it).

You can even combine effects together and specify it’s easing.

Preserve attributes after the finish: when the effect ends, all attributes changed are reverted to the original state as it was before the effect started. If you would like to preserve attribute changes after the end of the effect, check this option.

14.16.4

Effect name:

If you create your own custom effect you can change it’s name by double-cliking on the effect itself

Property changes #

The mySCADA effects engine enables you to animate different properties for any element. You can change, for example, color, size, move element, and much more. The properties table shows you which properties will be modified when the effect is run.

14.16.6

This properties table has just one section and one property change. When this effect is run, it will change the element color to red.

You can change multiple properties at once, or you can change different properties during a time. For example, you can create multiple entries per section (Duration), and you can have multiple sections. The following properties table will show how to change multiple properties at once and have multiple sections.

14.16.7

In this example, the fill and stroke color of output elements will be changed to red and yellow. The change will take time in first half of time (Specified by Duration 50.0 %). Then, the element will start to rotate and will rotate by 90 degrees. At the end of the effect, the element will disappear; this is due to the “Reset” section where we have specified opacity = 0.0.

To modify a property, double click on it. The Modify Property Dialog will be shown:

14.16.8

If you wish to modify a Time Section (Duration), double click on Duration label; a new Modify Duration Dialog will be shown:

14.16.9

Modify parameters:

  • Time: this is the duration of the time section shown as a percentage. If you specify the overall time of effect to be 1000 milliseconds and then set the time duration to 20 %,  the animated change will take exactly 200 milliseconds.
  • Easing: specifies the rate of change of a parameter over time. You can choose from several easing functions. To see them all, click on the ? button next to the easing combo box.

To add a new property or section, click on Add Button, and a new dialog will be shown:

14.16.10

Select a property you would like to add and set its value.

If you would like to create a new Time Section (Duration), check “Add New Time Group,” and additional properties will be shown:

14.16.11

Fill in the required parameters:

  • Time: this is the duration of the time section shown as a percentage. For example, if you specify the overall time of effect to be 1000 milliseconds and then set time duration to 20 %, the animated change will take exactly 200 milliseconds.
  • Easing: specifies the rate of change of a parameter over time. You can choose from several easing functions. To see them all, click on the ? button next to the easing combo box.

If you would like to create a Finish Time Section, check the appropriate checkbox:

14.16.12

The Finish section is useful if you would like to set some properties for a given value at the animation end. If you use the Finish section, you should check “Preserve attributes after finish”.

Trigger #

A trigger specifies how an effect will be started.

14.16.13

In the context menu, you can set the effect trigger:

on Click – effect will be activated when the object is clicked

on Down – effect will be activated when the object is pressed        

on Up – effect will be activated when the object is released (after on Down action)

on Down Up – effect will be activated when the object is pressed and stopped when the object is released.

on Mouse Over – effect will be activated when you hover over the object with the mouse pointer and stopped when the mouse pointer leaves the object

Tag – effect will be activated when selected tag value reaches given range and stopped when the value is out of range.

Tag Trigger – effect will be activated when selected tag value reaches given range, but the effect will NOT be stopped when the value is out of range.

If you select Tag or Tag Trigger from the trigger menu, set the tag address and the range of the Min and Max values.

14.16.14

Inputs #

The Inputs section specifies the elements that trigger the effect action. If you, for example, set the action to on Click and then specify multiple Input elements, any of them will act as a trigger effect when a user clicks it.

14.16.15

The “+” and “-” buttons allow you to add or remove Input elements from the list.

Outputs #

The Outputs section specifies the action elements to which the effect is applied. Usually, you want to apply an effect to the same element you have for the action trigger. In this case, you can leave  the default settings as “ThisElement.” If you want to have different or multiple elements, use the “+” and “-“ buttons to select the corresponding elements.

14.16.16

Saving Effect #

If you have modified effect properties and would like to save them for later use, press the “Save” button.

Applying Effect #

If you would like to set/apply an effect, press the “Apply” button.