I am trying to record times when waveform meets certain condition, =0 and dy/dt<0. The waveform consists of a sin wave with a gap in it 1/4 of the time which indicates the engine is at TDC.
With help i have a vi that produces a simulation to the wave i will eventually take from the crank sensor on the engine (attatched). I have produced a square wave from that wave which rises when the conditions above are met.
I have also been given a vi that records the peak times and time between teeth which is very close to what i want.
What i need is to record these times when the conditons are met rather than the peak times.