OneShot('Expression')

Description

This function returns the result TRUE, if the current measured value of 'Expression' is not equal to the previous one. It returns the result FALSE, if the current measured value does equal the previous one. The function supports text signals.

Example 1

Detecting value changes

Task description

For a real signal waveform, value changes should be displayed.

Solution

In the figure below the blue curve shows the original signal and the red bar shows the area with value changes of the signal.

Example 2

Detecting edges

Task description

The positive edges of a digital signal should be formed.

Solution

In the figure below the blue bar shows the original signal and the red bar shows the positive edges.