Creating Multiplexer and Demultiplexer

When defining structured flows (in a functional definition), or structured types (in a logical definition), it is necessary to provide constructor and destructor of such flows. The functional/logical MUX (Multiplexer) and DEMUX (Demultiplexer) are used for this purpose.

This task shows you how to create the MUX and DEMUX under a function in the Functional category of RFLP structure. Note that the scenario for a logical MUX/DEMUX creation is identical (using types instead of flows).

Create MUX (Multiplexer)

The MUX considers several flows for its input and emits as output a structured flow composed of all the input flows.

  1. Select the flow association you want to create the MUX for.
  2. Browse to display available types, select the flow to base the MUX on and click OK.

    The MUX is created and the selected flow is associated in emission with the MUX. Its subflows are associated in consumption with the MUX.

    By default, the name of the MUX flow association is composed of the name of the association flow and subflows.

    The MUX flow association is displayed in 2D representation and in the structure tree.

Create DEMUX (Demultiplexer)

The DEMUX takes, as input, one structured flow and emits, as its outputs, the subflows of the input flow.

  1. Select the flow association you want to create the DEMUX for.
  2. Browse to display available types, select the flow to base the DEMUX on and click OK.

    The DEMUX is created and the selected flow is associated in consumption with the DEMUX. Its subflows are associated in emission with the DEMUX.

    By default, the name of the DEMUX flow association is composed of the name of the association flow and subflows.

    The DEMUX flow association is displayed in 2D representation and is displayed in the tree.

    After creation, the MUX/DEMUX can be connected to functions.