Interval
The Interval type is used when the user wants to execute the event at a determined interval of time.
To configure the Trigger Interval, follow the steps below:
1. In Type ComboBox, select Interval.
2. In the Action Type ComboBox field, select the desired type.
3. In the Interval
TextBox field, insert the desired activation
frequency of the Trigger in hours, minutes and seconds.
4. Configure the
Action/Expression field.
Example:
Lets make a Trigger which activates every 30 seconds, following the steps below:
. Create a new Tag and name it @IntervalTag.
. Create
a new Trigger. Configure it by selecting
Type: Interval; Action type: Expression;
Interval: 00:00:30; Expression:
@IntervalTag++; as in the picture below.
. Create a Graphic document named IntervalTeste.
. Put one TextBox within the Graphic, and set its Text Property to @IntervalTag.
. Run the application and see how the value changes every 30 seconds.