Pipe Switch [RvTools]:
The Pipe Switch [RvTools] node is designed to facilitate the dynamic selection between two different data pipelines within a workflow. This node acts as a decision-making tool that allows you to choose which pipeline to activate based on a specified input condition. By providing a simple yet effective mechanism to switch between two options, it enhances the flexibility and adaptability of your workflow, enabling you to tailor the data processing path according to specific needs or conditions. This capability is particularly useful in scenarios where different processing routes are required based on varying input parameters or conditions, allowing for more efficient and targeted data handling.
Pipe Switch [RvTools] Input Parameters:
Input
The Input parameter is an integer that determines which pipeline will be activated. It accepts values of either 1 or 2, with a default value of 1. When set to 1, the node will select the first pipeline (pipe1), and when set to 2, it will select the second pipeline (pipe2). This parameter is crucial as it directly influences the node's execution path, allowing you to control which data stream is processed based on your specific requirements.
pipe1
The pipe1 parameter is an optional input that represents the first data pipeline. It is a placeholder for the data stream that will be selected if the Input parameter is set to 1. This parameter allows you to define the first option in your pipeline selection, providing a pathway for data processing that can be activated based on the input condition.
pipe2
The pipe2 parameter is an optional input that represents the second data pipeline. Similar to pipe1, it serves as a placeholder for the data stream that will be selected if the Input parameter is set to 2. This parameter offers an alternative pathway for data processing, enabling you to switch to a different processing route when required.
Pipe Switch [RvTools] Output Parameters:
pipe
The pipe output parameter is the result of the node's execution, representing the selected data pipeline based on the Input parameter. It outputs the data stream from either pipe1 or pipe2, depending on the input condition. This output is crucial as it determines the subsequent data flow in your workflow, ensuring that the appropriate pipeline is activated and processed according to your specified conditions.
Pipe Switch [RvTools] Usage Tips:
- Use the
Inputparameter to dynamically control the flow of data in your workflow, allowing for flexible and adaptable processing paths based on specific conditions or requirements. - Ensure that both
pipe1andpipe2are properly configured and contain valid data streams to avoid unexpected results or errors during execution.
Pipe Switch [RvTools] Common Errors and Solutions:
Missing Input: Multi Pipe Switch has no active Input
- Explanation: This error occurs when neither
pipe1norpipe2is provided, or when theInputparameter is set to a value outside the allowed range (1 or 2). - Solution: Ensure that at least one of the pipelines (
pipe1orpipe2) is connected and that theInputparameter is set to either 1 or 2 to select the appropriate pipeline.
