PS6 lacks wfm - wfm timing measurements so must invent own, heres unsigned

*delta(ChX,ChY)* to avoid hassle with cursors:

ChB=1MHz sine, ChC=1MHz square, ~45° phase. Measurement matches cursors. Operating in good conditions (no noise).

ChB=1MHz sine, ChC=1MHz sine, ~15° phase. Additional function plots delay graph. Graph little corrupted by noise. DC average on non-plotting function is more accurate.

ChB=1MHz sine, ChC=1.01MHz sine. Graph gives general picture.

To avoid noise issues it may make sense to lower sampling rate, apply resolution enhancement, filter etc. I just demonstrated default situation.

Math for non graphing (PWM):

*((((atan(1/tan(pi*(B/10000)))/pi)+(B/10000))*-((atan(1/tan(pi*(C/10000)))/pi)+(C/10000)))+0.25)*(1/freq(C))*Math for graphing version:

*duty((((atan(1/tan(pi*(B/10000)))/pi)+(B/10000))*-((atan(1/tan(pi*(C/10000)))/pi)+(C/10000))))*(1/200)*(1/freq(C))*It works by finding zero crossings which results in PWM which can be further processed and graphed using

*duty(x)*.