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, orEqualsto build comparison logic for decision making.Use with
Number Rangewhen you want a slider/value pair for dynamic range selection.Provide line locations or thresholds for analysis blocks like
Histogram On LineorHistogram On Curveusing this block.Feed width/height values into image transformation blocks such as
Image ResizeorImage ROI Center.Use together with export blocks such as
Image Write,Image Logger, orCSV Exportto 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?