Comment on page
Multi Port Switch
This function outputs the input in the index value according to the index number it receives from the switch input. For example, if the Switch input is 0, it will output the first input, or if it is 1, it will output the value in the second input.

The
Multi Port Switch
node in AugeLab Studio allows you to switch between multiple inputs based on a reference number or boolean value. It enables you to dynamically select one of the inputs and pass it as output.The
Multi Port Switch
node takes a reference value as the "Switch" input and multiple inputs ("Input 0", "Input 1", etc.). Based on the reference value, it selects the corresponding input and outputs its value. The number of inputs can be configured using the "Number of inputs" parameter.- 1.Drag and drop the
Multi Port Switch
node from the node library onto the canvas in AugeLab Studio. - 2.Connect the reference value to the "Switch" input socket.
- 3.Connect the desired inputs to the corresponding input sockets ("Input 0", "Input 1", etc.).
- 4.Configure the number of inputs using the "Number of inputs" parameter.
- 5.The node will output the value of the selected input based on the reference value.
The
Multi Port Switch
node has one input socket for the reference value ("Switch") and multiple input sockets for the inputs ("Input 0", "Input 1", etc.). The reference value can be a number or a boolean. The node has one output socket that outputs the value of the selected input based on the reference value.The
Multi Port Switch
node has a parameter called "Number of inputs" that allows you to configure the number of inputs. By default, it is set to 2, but you can increase or decrease the number as needed. The node dynamically adds or removes input sockets based on the configured number of inputs.The
Multi Port Switch
node dynamically selects the input based on the reference value provided. The steps involved in the selection process are as follows:- 1.Input Retrieval: The node retrieves the reference value from the "Switch" input socket.
- 2.Input Selection: Based on the reference value, the node selects the corresponding input value.
- 3.Output Generation: The node generates the output value based on the selected input.
- 4.Output: The node outputs the selected input value to the output socket.
- 1.Drag and drop the
Multi Port Switch
node from the node library onto the canvas in AugeLab Studio. - 2.Connect the reference value to the "Switch" input socket.
- 3.Connect the desired inputs to the corresponding input sockets ("Input 0", "Input 1", etc.).
- 4.Configure the number of inputs using the "Number of inputs" parameter.
- 5.Run the pipeline or execute the node to select and output the value of the corresponding input.
- 6.Retrieve the output value from the output socket.
- 7.Use the output value in downstream nodes or calculations as needed.
- The
Multi Port Switch
node provides flexibility in selecting inputs based on a reference value. - It allows you to dynamically switch between multiple inputs in your data processing pipeline.
- The reference value can be a number or a boolean that determines the input selection.
- The node dynamically adds or removes input sockets based on the configured number of inputs.
- The selected input value is passed as the output value of the node.
- The
Multi Port Switch
node is useful in various scenarios, such as conditional branching, data routing, and dynamic decision-making in data pipelines. - It helps in creating flexible and adaptable workflows by selecting inputs based on runtime conditions or external parameters.
- The node enhances the capabilities of AugeLab Studio for handling complex data flow scenarios.
- It can be combined with other nodes and operations to perform conditional computations, filtering, and data transformation.
- The
Multi Port Switch
node provides a visual and intuitive way to implement dynamic input selection in your data pipeline.