Back to Index

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

Creates a push button widget. Pressing the button writes 1 to the target. If the target is a variable, the value is latched until EMS reads that variable once, then it auto-clears to 0.

Example

wpage("Actions");
wbutton(start_cmd, "START");
wbutton(out(4), "Pulse OUT4");