Concepts in practice¶
Conceptually, tasks can be made very complicated but, in practice, it is best to keep things simple. Generally, a task should contain related topics that need to start and stop data processing together, using one or maybe two input connectors and one or maybe two output connectors with some I/O mapping in the middle. By keeping things simple, it will be easier to follow the data flow and achieve the intended outcome.
The UA Office Link main application is used to configure connectors, processors and tasks (please refer to the image below):
( 1 ) Topics are configured for each connector according to the capabilities of the underlying data source. These topics will then become available for tasks.
( 2 ) Tasks are configured to receive input topics by adding relevant connectors and connector topics. A task can process one or more input connector(s) with one or more topic(s) at the same time.
( 3 ) If required, then processors can be added to the task. Processors map or transform data coming from the input stage so that inputs can be forwarded in a suitable form to the output stage.
( 4 ) Similar to inputs, one or more output connector(s) with one or more output topic(s) are added to the task. Data received from the inputs or processing stage is sent to the output connectors.
( 5 ) I/O mapping ensures that input tag data is delivered to the correct output tag.
The task is now ready to run and to transfer data from inputs to outputs.