MPICaptureInputFilter

Declaration

typedef enum MPICaptureInputFilter {
        MPICaptureInputFilterINVALID = -1,
        
MPICaptureInputFilterNONE, /* no filter */ MPICaptureInputFilterFAST, /* .6 microsecond filter */ MPICaptureInputFilterSLOW, /* 40 microsecond filter */
MPICaptureInputFilterEND, MPICaptureInputFilterFIRST = MPICaptureInputFilterINVALID + 1, MPICaptureInputFilterCOUNT = MPICaptureInputFilterFIRST - MPICaptureInputFilterEND } MPICaptureInputFilter;

Required Header: capture.h

Change History: Added in 04.00.

Description

MPICaptureInputFilter specifies the digital input filter configuration for a capture trigger. If you have problems with input signal glitches, the filter can be used to reduce or elimate them. The default input filter is MPICaptureFilterNONE.

The MPICaptureInputFilter correpsonds to the settings for an optional glitch filter that can be used to debounce the input trigger signals.

The hardware captue engine has a 7 state digital filter to reduce input signal glitches. When configured, the capture will not trigger until the input transitions to the specified edge and is stable for 7 states. If a glitch occurs before the state counter reaches 7, the counter is restarted.

The FAST filter (state =0.08us) is useful for RS422 inputs. The SLOW filter (state = 5.12us) is useful for
OPTO inputs. The inputFilter delays the capture trigger.

MPICaptureInputFilterNONE No deboune fileter is applied to the input trigger (default).
MPICaptureInputFilterFAST A 0.6 µs debounce filter is applied to the input trigger. Useful for fast signals such as RS422.
MPICaptureInputFilterSLOW A 40 µs debounce filter is applied to the input trigger. Useful for slow I/O signals such as opto inputs.