Group Region

The Group region is used to organize blocks and their execution in a Task.

For example, if four Tool Blocks are laid out in a Task, as shown below, their execution will be from left to right, as follows: ToolBlock_1 > ToolBlock_2 > ToolBlock_3 > ToolBlock_4.

However, by placing two Group regions around the blocks, as shown below, their execution will now be: ToolBlock_1 > ToolBlock_3 > ToolBlock_2 > ToolBlock_4. The order of execution is changed because "Group" will execute the blocks contained within it before the blocks in "Group1" are executed.

By placing a Processing Parallel Regions around the two Group regions, the Tool Blocks in "Group" will execute sequentially on one thread, and the Tool Blocks in "Group1" will execute sequentially on another thread.

If a Parallel region was placed around all four Tool Blocks, but the Tool Blocks were not with Group regions, all of the Tool Blocks would execute in parallel.