Edge Rising
This function block detects when a boolean signal transitions from False to True (a rising edge). Use it to trigger actions only once when an input turns on, preventing repeated triggers while the input stays True.
π₯ Inputs
Input A boolean signal to be monitored for a rising edge.
π€ Outputs
Output A boolean that becomes True for one evaluation step when a rising edge is detected, otherwise False.
πΉοΈ Controls
This block has no interactive controls. It operates automatically on its input signal.
π¨ Features
Single-step trigger on rising transitions: the block outputs True only once when the input changes from False to True.
Simple state memory: the block remembers the previous input state to detect transitions.
Lightweight and fast: suitable for use in logic flows where one-shot triggering is required.
βοΈ How it works
On each run, the block compares the current boolean input to its remembered previous state. If the previous state was False and the current input is True, the block emits a single True on the Output for that run. If the input remains True on subsequent runs, the block keeps the Output False until the input goes False and rises again.
π Usage Instructions
Connect a boolean source (e.g., a sensor signal or a manual switch) to the
Input.Use the block's
Outputto drive actions that should occur only once per activation (for example, start a recording, log an event, or open a window).If you need to reset or re-arm the trigger logic based on other conditions, combine this block with logic blocks listed below.
π‘ Tips and Tricks
Combine with
Logic Inputto test manual triggers from the UI.Use together with
Delay Stepto add a one-step delay before downstream processing.Pair with
Edge Fallingto detect both rising and falling transitions for complete edge monitoring.Use alongside
Set - ResetorCounterto implement latch or counting behavior that reacts once per activation.Chain with logical blocks such as
And,Or, orNotto build more complex trigger conditions (for example: trigger only when a condition is true AND a rising edge occurs).When feeding visual actions, connect the
Outputto blocks likeShow Imageto display results only when activation happens.
(hint) For flows where multiple boolean signals must all trigger together, precede this block with All True to reduce false triggers.
π οΈ Troubleshooting
If the block never outputs True: ensure the connected boolean signal actually changes from False to True (not from None or a constant True).
If the block outputs True repeatedly while the input stays True: make sure no upstream logic is repeatedly toggling the input; the block only emits True on a transition from False to True.
If you need to re-arm the trigger after an action, use a combination of boolean logic blocks (for example
Set - Reset) to control when the monitored input is allowed to produce a new rising edge.
Last updated
Was this helpful?