ElapsedTime('Start','Stop')

Description

This function returns the time since the last rising edge for 'Start'. The time is stopped at the rising edge for 'Stop'.

Example

Measurement of the time gap between the last rising edge of a measured value up to the next rising edge of a different measured value.

Solution

In the figure below the blue bar shows the 'Stop' signal and the red bar shows the 'Start' signal. The green curve shows the time that elapsed between the rising edges of 'Start' to 'Stop'.