Back to Index

Definition: winput(target_expr, "label") — Allowed: expression target; best with assignable targets.

Creates a text input widget for numeric values. Entering a number and pressing Enter submits the value. Integers and floats are accepted.

Example

wpage("Setpoints");
winput(target_pressure, "Target Pressure");
winput(actuator(1), "Actuator 1");