Owning Palette: Edge Detect Function Blocks
Requires: RT Module
Detects a rising edge, a transition from FALSE to TRUE, on the input signal. When a rising edge occurs, output is TRUE for one function block execution. The value of output remains FALSE until a new rising edge occurs.
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
| Parameter | Description |
|---|---|
| Inputs | Contains the following configuration options:
|
| Outputs | Contains the following configuration options:
|
| Parameter | Description |
|---|---|
| error in (no error) | Describes error conditions that occur before this node runs. |
| input | Specifies the digital input signal. |
| Parameter | Description |
|---|---|
| error out | Contains error information. This output provides standard error out functionality. |
| output | Returns the digital output signal. |
The timing of this function block depends on the rate of the Timed Loop or While Loop in which you place the function block. For example, if you need the function block to update with millisecond resolution, you can place the function block in a Timed Loop configured to execute every millisecond.
The following timing diagram illustrates the behavior of this function block.