03-07-2022 01:40 PM
Hi LABVIEW Community,
Hope you are doing well. Recently, I have developed a multi-channel code(Code uploaded in the attachment) to get raw data and filter data from two different pressure sensors. However, with my code I am always having some delay(Graph added below) with the filtered data. Now, my question is how can I reduce this delay? Your suggestions will be really helpful to me.
Thank you.
03-07-2022 02:29 PM
Delay is an inherent characteristic of inline filtering that can't be avoided.
Algorithms *do* exist for removing this delay when you apply filtering as a post-processing step (see for example the "Zero Phase Filter"). And you can try to play tricks for GUI graphing purposes by manipulating the t0 field of a filtered waveform. But you can't filter in real time without inducing some delay.
Filters are characterized in the freq domain with a gain response and a phase response. The phase response corresponds to delay.
-Kevin P