Groups

It is possible to group multiple tools in the Tool Flow panel in order to provide a clear overview in your MERLIC Vision App (MVApp). In the following, you can find general information on the visualization of groups in the Tool Flow panel and the Tool Workspace of the MERLIC Creator. For more information on how to create and work with groups in MERLIC, see the topic Creating and Configuring Groups.

Groups are visualized in the Tool Flow panel with a graphical representation of stacked tools including the icon . A group is always displayed the same in the Tool Flow panel no matter how many tools are included.

In the Tool Workspace of the MERLIC Creator, a group is visualized similar to a regular tool with a Tool Board. It shows connections to previous and subsequent tools, a graphic window if available, as well as a Quick Info. However, there are still some differences to regular tools, e.g., regarding which parameters and results are available at the group in the Tool Workspace.

Toolbar

The ROI toolbar with the buttons to draw regions of interest (ROIs) into the image is also provided for a group. Active buttons are displayed darker than disabled buttons . Whether an ROI button is active and thus available for use depends on the tools in the group and the Frontend design of the MVApp. If a tool in the group provides an ROI parameter which is connected in the Frontend design, the respective ROI button is also active and available for use in the group.

Quick Info

Similar to the Tool Board of a regular MERLIC tool, you can find a short documentation about groups on the right. It provides a general description which type of connections, parameters, and results can be shown, and how to work with a group. You can expand and collapse the Quick Info by clicking on the respective arrow icon on the top right of the graphics window.

Connectors

Connectors that are displayed at a group represent connectors of the tools in the group, i.e., tool parameters and tool results. However, a group only shows specific parameters and results of the tools:

  • Parameters and results that are connected to previous tools or subsequent tools outside of the group.
  • Parameters and results that have been added as MVApp parameters and MVApp results before the group was created.
  • Parameters and results that are connected in the Frontend design of the MVApp.

The connectors that represent iconic parameters are displayed in a specific order from left to right: images, regions, contours, ROIs, calibration data, alignment data. The iconic parameter at the top left is the one displayed in the graphic window of the group.

For more general information on the different types of connectors, see the topic Connectors.

Connections

A group shows only the connections of the displayed connectors, i.e., the connections to parameters and results that meet the conditions listed above in the section Connectors. Connections to previous tools are located at the top and the connections to subsequent tools are located at the bottom. However, a connection arrow only indicates that there is at least one connection to a tool within the group. Internally, there might be incoming connections from a previous tool to multiple tools within the group or outgoing connections from multiple tools within the group to one and the same subsequent tool. If you want to see all connections in detail, you have to ungroup the tools.

For more information about connections, see the topic Connections.

Restrictions

In some cases it is not possible to create a group. Then, the respective context menu entry will be greyed out and the keyboard shortcut to create a group will not be available.

  • It is not possible to create a group of groups.
  • It is not possible to group tools if more than one "easyTouch Button" in the Frontend design is connected to any of the tools in the group-to-be.
  • It is not possible to group tools if more than one "Training" widget in the Frontend design is connected to any of the tools in the group-to-be.
  • It is not possible to group tools if any tool connections would be lost when creating the group. A new group is always inserted at the top left of the tool selection. If multiple subsequent tools are selected to be grouped, this might lead to a lost connection, e.g., if a tool to be grouped has an incoming connection from a tool that is not to be grouped and the new group would be placed above or next to the connected tool. The following graphic shows an example. A result of tool T3 is connected to a parameter of tool T4. This connection would be lost if the tools T2 and T4 would be grouped because the new group would be placed at the position of the tool T2, next to the tool T3. However, connections are only allowed to previous or subsequent tools and thus the connection between T3 and T4 in the group cannot be kept. Therefore, when selecting the tools T2 and T4, the context menu entry will be greyed out and the keyboard shortcut for grouping will not be available.

  • In such cases, rearranging the tools before grouping might help to avoid any loss of tool connections. In this simple example, the tools T2, T4, and T5 could be moved down in the Tool Flow panel. With the new positions, the tools T2 and T4 can now be grouped because the new group will be placed below tool T3 and thus, no connection would be lost.