Number Input

This function block lets you type a numeric value that can be used elsewhere in your scenario. It is ideal for thresholds, indexes, counters or any parameter that needs a user-defined number.

πŸ“₯ Inputs

This function block does not have any inputs.

πŸ“€ Outputs

Number The numeric value typed by the user. Can be integer or decimal (supports both dot and comma decimal separators).

πŸ•ΉοΈ Controls

Number A single-line editable field where you enter the numeric value to be exported by the block.

  • Accepts integers (e.g., 5) and decimal values (e.g., 3.14 or 3,14).

  • Ignore spaces; avoid special characters or text.

  • If the value cannot be parsed as a number, the block will show an error state and will not output a valid number.

🎯 Features

  • Simple, focused numeric input for use as a parameter in your flow.

  • Accepts both integer and floating-point formats with flexible decimal separators.

  • Visual validation: the block indicates when the entered value is invalid.

βš™οΈ Running behavior

When the scenario runs, the block reads the content of the editable field and provides the parsed numeric value on the Number output. If parsing fails, the block reports an error and does not output a valid numeric value until corrected.

πŸ“ Usage tips

  • Use this block to set thresholds, sizes, counts, or any configurable numeric parameter in your scenario.

  • Keep the field simple β€” don’t add units or extra text (for example write 100, not "100 px").

πŸ’‘ Tips and Tricks

  • Use with Greater, Smaller, or Equals to build comparison logic for decision making.

  • Use with Number Range when you want a slider/value pair for dynamic range selection.

  • Provide line locations or thresholds for analysis blocks like Histogram On Line or Histogram On Curve using this block.

  • Feed width/height values into image transformation blocks such as Image Resize or Image ROI Center.

  • Use together with export blocks such as Image Write, Image Logger, or CSV Export to control naming, limits or logging thresholds.

πŸ› οΈ Troubleshooting

  • If your value is rejected: remove extra characters (letters, symbols), replace commas with dots or vice versa if needed, and avoid spaces.

  • If you see an error message after editing the field, correct the input and re-run; the block will return to normal when a valid number is entered.

Last updated

Was this helpful?