08-06-2008 12:51 AM
08-06-2008 05:07 PM
Hi shami81,
You can see the code that implements the Express Filter VI. After you select OK in the setup dialog, right-click on the express VI and select Open Front Panel. You can now open the block diagram of the filter implementation.
Regards,
Kevin S.
Applications Engineer
National Instruments
08-02-2013 10:24 AM
What are the differences in how LabVIEW implements smoothing filter for "rectangular", and "triangular" for the moving average? Are they both sliding windows, or??
I have a dataset that the moving average (set to 5), actually changes the first few datapoints in the array, and causes the waveform to fail monotonicity when set to "triangular", but not when set to "rectangular"? I would like to know how these moving averages are applied by the Configure Filter" vi available on the waveform conditioning palette.
08-05-2013 03:08 PM
Hi ATE_Dude_22,
If you drill down into the built-in VIs, you can find the difference in the implementation. After you configure the Filter Express VI, you can right-click on it and select “Open Front Panel,” then follow the filter type input. Smoothing is filter type index 4. Eventually, you will see that the only difference between rectangular and triangular is how it calculates the coefficients. Everything else is identical between triangular and rectangular.
Regards,
Kelsey Johnson
Applications Engineer
National Instruments
08-05-2013 03:32 PM
Ty Kelsey.