Your M-series board supports digital filtering. I haven't needed to use it myself yet so am not certain exactly how to go about it.
1. You may be able to perform a kind of digital debouncing directly on the PFI input signal before it's passed into the rest of the board's circuitry, such as the AI sampling clock. If you can do it this way, it'll be easiest.
2. Another method is to configure one of the board's counters to generate a retriggerable single pulse which is used as an AI sample clock. The total defined period of the pulse will also act like a digital filter because any additional "trigger" edges coming in the middle of the single pulse being generated will be ignored. For example, you might make a pulse with a total delay time + pulse time = 100 microsec to reject any quad clock jitter at >10 kHz.
-Kevin P.
ALERT! LabVIEW's subscription-only policy coming to an end (finally!). Permanent license pricing remains WIP. Tread carefully.