Ok, so I impemented my plan (square up the source signa, make them the same amplitude ....then subtract 29 from the final comp2 count).
Works...
(green trace is comp1 input, yellow trace is the phase lagged signal into comp2)
Thanks for all your help........"I have exorcised the demons this code is clear!"
Bookmarks