This example shows how to detect when a signal value decreases to a strictly negative value from a value that was greater than or equal to zero.
Detect Fall Negative | Scope | Sine Wave
You have a modified version of this example. Do you want to open this example with your edits?