I have a 4262 scope.
I need to measure the time between channel a falling to zero and channel b falling to zero.
This is a fairly common measurement in most scopes.
I know i can use the cursors to manually measure between them, but i need to capture and average several test points.
My signal is not stable enough to just move the cursors over the signal and saving and going back is very time consuming.

I was wondering if this math channel formula could be modified to meet my needs?
It was given to someone to measure phase shift in degrees. My measurement is similar to phase shift but is ms time instead.

Another thing to note is at the beginning of capture the phase calculation is incorrect as it does not have enough data
and the frequency has no values at the beginning and the end of capture because it does not have enough data.