Hi Troy,
Thank you for your swift reply, I have try implementing your suggested algorithm and i understand the principles of the code. However I seem to have some problems acquiring the desired signal and thats what i have been struggling on for the past few days. I hope to get it sorted within these few days and then I will have a definite answer to whether it's wokring or not.
Also, I have another problem that I hope you can help me out on, I have been asking another expert on another problem that i have been designing, it's title is 'measure rotor encoder signal' however the expert called Ian Colman who has been helping me greatly on it but hasn't replied to my recent problem for over a week and since im on a deadline to finish this project, is there any chance you can help me contact him or you can help on the topic, im not sure whether he's sick or off on holiday but i really need help on that topic and I would appreciate very much if you can find any help at all. Thank you for your time.
Best Regards,
Coato