When
====
Starts a path each time its condition rises (or falls): a key, a threshold.
``when`` · step
.. raw:: html
Whenstep
onrise
runningkeep
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``cond``
- signal
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``next``
- step
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``on``
- enum
- ``"rise"``
- ``rise``, ``fall``
* - ``running``
- enum
- ``"keep"``
- ``keep``, ``restart``