Divide
This function block performs division across multiple numeric inputs. You can choose how many inputs to provide and the block will compute a single numeric result based on the connected values.
π₯ Inputs
Number(multiple) β Numeric inputs to be used in the division. The block accepts between 2 and 20 numeric inputs, selectable via the control. Disconnected inputs are ignored.
π€ Outputs
Numberβ Single numeric result of the division operation.
πΉοΈ Controls
Input sizeβ Dropdown to set how many numeric input sockets the block exposes (range: 2β20). Change this to add or remove input sockets interactively.
π― Features
Dynamic input count β Expand or shrink the number of numeric inputs without replacing the block.
Single consolidated output β Returns the computed numeric value on one
Numberoutput.Graceful handling of missing inputs β Inputs that are not connected are ignored so the block continues to run.
βοΈ How it runs
When evaluated, the block reads the available numeric inputs (up to the selected input count), combines them according to the division operation, and writes the result to the single Number output. If some inputs are not connected, the block uses the connected values only.
π Usage Instructions
Set the number of inputs using the
Input sizedropdown (default is 2).Provide numeric values by connecting
Numberoutputs from other blocks or by usingNumber Inputblocks.Read the final numeric result from the block's
Numberoutput.If you need to change the number of inputs later, adjust the
Input sizecontrol β sockets will be added or removed automatically.
π‘ Tips and Tricks
Combine with
Number Inputto feed manual numeric values during testing.Use
RoundorAbsoluteafter this block to format or normalize the result for display or logging.Feed the output into
Scopeto visualize the numeric result over time.Use with
CSV ExportorImage Loggerworkflows when you want to record numeric results alongside images or other data.For dynamic ranges or repeated calculations, use together with
CounterorNumber Rangeto generate sequences of inputs.
π οΈ Troubleshooting
No result shown: Verify at least the minimum number of inputs are selected and that at least one
Numberinput is connected.Unexpected result: Check connected sources for valid numeric values, and consider adding
Roundif you need a specific decimal precision.
Last updated
Was this helpful?