Event sequencer Task

This task is designed for generating a time sequence for executing another task.

An example of such sequence is, if you want to start a Digital Clock, then to start a picture and move it horizontally on screen over a specific period of time and at finally to start another task. You will have the following sequence of tasks:

1. Task “Play Digital Clock 1
2. Task “Play Picture 1” (to be started 5 sec. after the beginning of the sequence)
3.Task “Move Picture1” (to be started 10 times at every 5 seconds)
4. Task “Start timer1”

In this example, you have to fill the setup window like it is shown in the following screenshot:
Into Task Name, enter the name of your time sequence (sequence 1).
Into OnStart field, select the name of the first task in the sequence (Play Digital Clock 1). Select the name from the drop-down list. If you don’t want to have task on sequence start, uncheck relative Enable check-box.
Into Delay before Loop field, enter the interval of delay in milliseconds (5000ms=5sec.). This is the delay after the sequence start and before the start of the loop task. Into OnEndDelay field enter the task which will be executed with this delay (PlayPicture1). Select the name of the task from the drop-down list with existing tasks. If you don’t want to have delayed task, uncheck relative Enable check-box.
Into OnLoop field, enter the task which will be executed on every loop (Move Picture 1). Into Loop Interval field enter the interval for repeating the task (5sec=5000ms). Into Loops Count field enter how many times the task will be repeated (10).
If Loops Count is zero (0), the looping will be infinite, until task is running.
Into OnStop field, enter the task which will be executed at the end of the sequence (Start timer1). This task will start when the looping is finished or when a Stop sequence command is send.
When you are ready with definition of the sequence, press the OK button to save it. You will see two tasks in the task list, created automatically: Start sequence name and Stop sequence name. The command Stop sequence name usually is used to stop a sequence when the Loop Interval is zero (infinite).