Tutorial: How to use sender/receiver for merging or diverting
Modified on: Tue, 17 Aug, 2021 at 9:53 AM
Applies to FlexLink Design Tool.
There are three different options how to distribute components via a sender component, changed in the DistributeMode property
DistributeEvenly – All components are distributed evenly among the connected receivers in the order they were connected.
DistributeProbability – For every connection there is a field to enter a probability value that the product is sent to the specific receiver. The value is between 0 and 1. All probabilities together has to add up to one, otherwise the probabilities is set evenly over all receivers e.g. if you have four connected receivers it is a 25% chance that the product is sent to each.
DistributeBasedOnID – For each receiver connected the option to add one or several processIDs is given. If the same ID is used several times only the first in the list is used. Products that are not on the list passes the sender and continues on the path.
Selection of which processIDs that should be sent by the Sender component. The options are All and BasedOnID.
All– All components are sent to the receiver.
BasedOnID– The desired processIDs are entered in the SendIDfield. Products that are not on the list passes the sender and continues on the path.
If DistributeBasedOnIdis set all the ReceiverIDsare automatically added to the list.