Zero Crossing PtByPt (Not in Base Package)

Detects zero crossings of input data. crossing becomes TRUE immediately after the transition occurs.

initialize, when TRUE, initializes the internal state of the VI.
input data is the set of input data.
direction is the kind of zero crossing. You can choose from either minus-plus or plus-minus.
crossing is TRUE if a zero crossing occurred.