Mux

The Mux function block is essential for managing multiple input signals, allowing users to merge several data streams into a single output. This functionality is helpful when you want to access individual signals while keeping your workflow organized.

πŸ“₯ Inputs

Input 1 The first input data stream you wish to handle.

Input 2 The second input data stream you wish to handle.

Additional inputs can be dynamically created based on the selection in the dropdown menu.

πŸ“€ Outputs

Multiple generic outputs that represent the combined input streams, enabling access to all connected data.

πŸ•ΉοΈ Controls

Input size A dropdown menu to select the number of individual inputs. This allows users to dynamically adjust the number of input connections based on their needs.

🎨 Features

Dynamic Input Management Users can add or remove input sockets based on their selections in real time.

Flexible Output Handling Captures and preserves all data from connected inputs for further processing.

πŸ“ Usage Instructions

  1. Set Input Size: Select the desired input size from the dropdown menu labeled Input size. This will determine how many input sockets are visible for connecting data.

  2. Connect Inputs: Link up to the selected number of inputs (e.g., Input 1, Input 2, etc.) to the Mux block.

  3. Evaluate Outputs: When evaluated, the outputs will contain the data from all connected inputs, allowing for easy access to all individual streams.

πŸ“Š Evaluation

When run, the Mux function block will collect data from all connected inputs and return them in a list format. This output is useful for further processing or analysis.

πŸ’‘ Tips and Tricks

Handling Multiple Signals

Consider utilizing a combination of Mux with other function blocks such as Sum, Average or Aggregate to perform operations over multiple signals seamlessly.

Removing Unused Inputs

After setting the input size, you can easily reduce the inputs to keep your workflow clean and manageable by adjusting the input size in the dropdown.

Dynamic Data Handling

If you find that your data input size frequently changes, consider using this block at strategic points in your workflow to maintain flexibility.

πŸ› οΈ Troubleshooting

No Output Data

Ensure that all inputs are properly connected and that data is flowing into the block. If no data appears to be present, verify each source's configuration.

Adjusting Input Size

Changes to the input size will dynamically affect the available inputs. However, remember that any removed inputs will lose their connected data. Ensure that removing connections won’t disrupt your workflow.

Last updated