Basic Pipe Switch [RvTools]:
The Basic Pipe Switch [RvTools] is a versatile node designed to facilitate the selection between two different data streams, referred to as "pipes," within a workflow. This node is particularly useful when you need to dynamically choose between two processing paths based on specific conditions or inputs. By providing a simple yet effective mechanism to switch between two options, it enhances the flexibility and adaptability of your workflow, allowing for more complex and conditional data processing scenarios. The node's primary function is to evaluate an integer input and, based on its value, direct the flow of data through one of the two available paths. This capability is essential for creating dynamic and responsive workflows that can adjust to varying conditions or requirements.
Basic Pipe Switch [RvTools] Input Parameters:
Input
The Input parameter is an integer that determines which of the two available data streams will be selected. It accepts values of either 1 or 2, with a default value of 1. When set to 1, the node will select the first input stream (input1), and when set to 2, it will select the second input stream (input2). This parameter is crucial as it directly influences the node's behavior and the resulting data flow, allowing you to control which path the data should take based on your specific needs or conditions.
input1
The input1 parameter is an optional input that represents the first data stream or "pipe" that can be selected by the node. It is of type BASIC_PIPE and is required to be provided if you intend to use it as a selectable option. This parameter allows you to define the first potential path for data processing, which will be chosen if the Input parameter is set to 1.
input2
The input2 parameter is an optional input that represents the second data stream or "pipe" that can be selected by the node. Similar to input1, it is of type BASIC_PIPE and must be provided if you wish to use it as a selectable option. This parameter defines the second potential path for data processing, which will be chosen if the Input parameter is set to 2.
Basic Pipe Switch [RvTools] Output Parameters:
BASIC_PIPE
The BASIC_PIPE output is the result of the node's execution, representing the selected data stream based on the Input parameter. This output is crucial as it determines the path that the data will follow in the subsequent steps of your workflow. By providing a clear and direct output, the node ensures that the chosen data stream is seamlessly integrated into the rest of your processing pipeline, allowing for efficient and effective data management.
Basic Pipe Switch [RvTools] Usage Tips:
- Ensure that both
input1andinput2are properly configured and connected to valid data streams before executing the node to avoid unexpected results. - Use the
Inputparameter to dynamically control the data flow in your workflow, allowing for conditional processing based on external factors or user input.
Basic Pipe Switch [RvTools] Common Errors and Solutions:
Missing Input: Multi Pipe Switch has no active Input
- Explanation: This error occurs when neither
input1norinput2is provided, leaving the node without a valid data stream to select. - Solution: Ensure that at least one of the optional inputs (
input1orinput2) is connected to a valid data stream before executing the node.
