From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

Decimate vi in labview

Hi,

 

I want to use the decimation function in Labview. I looked into this vi - 

http://zone.ni.com/reference/en-XX/help/371361H-01/lvanls/decimatecont/

This vi takes the input data and decimation factor and the output is the decimated array. But don't we  need an anti-aliasing filter before the decimation operation? Does the vi have a filter inside it?

Can anyone please help me?

 

Thanks!

0 Kudos
Message 1 of 3
(5,554 Views)

You can choose the decimation method: pick or mean, (or if you use the resample vis more sophisticated filter)

Guess what the mean will do 😉

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 3
(5,543 Views)

Thank so much for the reply but I still don't understand exactly what it is doing.

If averaging is false, then the new samples of the decimated array are multiplied by the decimation factor 

if averaging is true, then the new samples of the decimated array are averaged by the decimation factor, but why every time there is the summation of k values for each i.

I am sorry if I sound confusing 😞

 

Thanks

0 Kudos
Message 3 of 3
(5,524 Views)