Grouped blocks

Grouped blocks

Creating a grouped block

Creating a grouped block

To create a grouped block:

  1. Select the blocks you want to add to the group.

  2. Right-click on any of the selected blocks and select Group from the context menu.

    The selected blocks are consolidated into a single block with ports for each of the connected inputs.

From the grouped block context menu, you can access the following options:

  • Ungroup to restore the internal algo blocks to the parent algo.

  • Virtualize to allow new copies of the grouped block to be created every time a discrete event message enters the virtualized group block. See Rules of Virtualization for more information.

  • Add Input Connector, Add Output Connector to attach extra ports providing additional input values to and output values from the grouped block for the following data types:

    • Boolean
    • Numeric
    • Instrument
    • Discrete message

Opening a grouped block

To open a grouped block, double-click the grouped block.

The ADL canvas replaces the parent algo with the contents of the grouped block, as shown:

Use the icons located at the top portion of the Designer canvas to navigate back to the root or parent algo.

Ungrouping a grouped block

To ungroup a grouped block:

  1. Right-click the block you want to ungroup to display the context menu.

  2. From the context menu, select Ungroup.

    The grouped block is replaced with the internal contents of the grouped block.

Deleting a grouped block

To delete a grouped block, right-click the group block and select Delete.