Pipe-Line Switch [RvTools]:
The Pipe-Line Switch [RvTools] node is designed to facilitate the dynamic selection between two distinct pipeline paths within a workflow. This node is particularly useful when you need to conditionally route data or processes based on specific criteria, allowing for greater flexibility and control in your pipeline configurations. By providing a simple mechanism to switch between two inputs, it enables you to streamline complex workflows and make them more adaptable to varying conditions or requirements. This node is essential for scenarios where decision-making is required to determine the flow of data, ensuring that the appropriate pipeline is utilized based on the input conditions.
Pipe-Line Switch [RvTools] Input Parameters:
Input
The Input parameter is an integer that determines which pipeline path will be selected. It accepts values of either 1 or 2, with a default value of 1. When set to 1, the node will route the data through the first pipeline (input1), and when set to 2, it will route the data through the second pipeline (input2). This parameter is crucial for controlling the flow of data and ensuring that the correct pipeline is activated based on your specific needs.
input1
The input1 parameter represents the first pipeline option that can be selected by the node. It is of type PIPE_LINE and is required to be provided when the Input parameter is set to 1. This parameter allows you to define the first path that the data can take, making it an integral part of the node's functionality when the first option is chosen.
input2
The input2 parameter represents the second pipeline option available for selection. Similar to input1, it is of type PIPE_LINE and must be provided when the Input parameter is set to 2. This parameter defines the alternative path for the data, enabling the node to switch to this pipeline when the second option is selected.
Pipe-Line Switch [RvTools] Output Parameters:
PIPE_LINE
The PIPE_LINE output parameter is the result of the node's execution, representing the selected pipeline path based on the Input parameter. This output is crucial as it determines the subsequent flow of data in your workflow, ensuring that the correct pipeline is utilized according to the specified conditions. The output provides a seamless transition between different pipeline paths, maintaining the integrity and efficiency of your workflow.
Pipe-Line Switch [RvTools] Usage Tips:
- Use the
Inputparameter to dynamically control the flow of your pipeline based on external conditions or decision-making logic. - Ensure that both
input1andinput2are properly configured and connected to valid pipeline paths to avoid disruptions in your workflow. - Consider using this node in scenarios where conditional logic is required to determine the appropriate processing path, enhancing the adaptability of your workflow.
Pipe-Line Switch [RvTools] Common Errors and Solutions:
Missing Input: Multi Pipe Switch has no active Input
- Explanation: This error occurs when neither
input1norinput2is provided, or when theInputparameter is set to a value that does not correspond to a valid input. - Solution: Ensure that both
input1andinput2are connected to valid pipeline paths and that theInputparameter is set to either 1 or 2, corresponding to the desired pipeline path.
