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 Number output.

  • 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

  1. Set the number of inputs using the Input size dropdown (default is 2).

  2. Provide numeric values by connecting Number outputs from other blocks or by using Number Input blocks.

  3. Read the final numeric result from the block's Number output.

  4. If you need to change the number of inputs later, adjust the Input size control β€” sockets will be added or removed automatically.

πŸ’‘ Tips and Tricks

  • Combine with Number Input to feed manual numeric values during testing.

  • Use Round or Absolute after this block to format or normalize the result for display or logging.

  • Feed the output into Scope to visualize the numeric result over time.

  • Use with CSV Export or Image Logger workflows when you want to record numeric results alongside images or other data.

  • For dynamic ranges or repeated calculations, use together with Counter or Number Range to generate sequences of inputs.

πŸ› οΈ Troubleshooting

  • No result shown: Verify at least the minimum number of inputs are selected and that at least one Number input is connected.

  • Unexpected result: Check connected sources for valid numeric values, and consider adding Round if you need a specific decimal precision.

Last updated

Was this helpful?