Can anyone help me by giving some advice on how to detect the fast moving pulses from an incremental encoder? Thks.