When a discrete event message enters its discrete input port, the Stopwatch block evaluates its StopTime formula (using the Formula Builder) to determine the stop time in milliseconds. After the specified stop time, the block sends a discrete event message through its output port. The Stopwatch block must be reset with a new incoming discrete event message to repeat its operation.
The Stopwatch block allows you to set a custom timer interval instead of a fixed interval of 250 ms, and lets you decide when to repeat the timer, which prevents unnecessary timer events.
To customize the block, update the Block Properties.
|Name||Name to display beneath the block on the ADL canvas|
Formula to calculate the timer value.