On a CE terminal |
Manual -> Process Control Engine (PCE) -> Course of actions -> Executing tasks -> Executing tasks event triggered -> On a CE terminal |
Show all Hide all |
As Windows CE does not support VBA, the way described above is not possible on a CE terminal. But there is a possibility to execute tasks event triggered also here.
A task with the Start
type System start is
created. This task is automatically started with the Runtime. And
this task gets the Priority Main
process
so that it runs in the same thread as the Runtime.
Now bit variables are linked to that task, then will execute other
tasks event triggered. With the following statement the task can be
started:
Parent.Item("Taskname").Run
The task is automatically started in an own
thread if in the configuration the Priority Main process
has not been
set.
With the following statement the task can be stopped at any time:
Parent.Item("Taskname").Stop