LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

every nth point

Hi

Further to my question a couple of weeks ago, about calculating a
running averaging using the last 20 data points acquired, I now need
to find a way to cut down the amount of data that is subsequently
plotted/saved.

Now the data has been smoothed, I only need to save down every 5th
point (or so). I am taking data at such a quick rate (in order for the
smoothing to work effectively, without "rubbing out" the signals which
I am actually interested in), and I do not want to end up with data
files which contain a massive number of points.

Could anyone let me in on a way to pluck out every "nth" point of my
running average?


Thanks in advance

Jon Atkinson
0 Kudos
Message 1 of 3
(2,714 Views)
If your data is inside a 1-dimensional array, you can use the function "Decimate 1D Array", located in:

Diagram palette -> Array

This function does exactly what you are asking for.

Regards;
EJV
www.vartortech.com
Message 2 of 3
(2,714 Views)
Hi

So it does! Thanks very much


Jon


"Enrique" wrote in message
news:506500000005000000572F0000-991728092000@quiq.com...
> If your data is inside a 1-dimensional array, you can use the function
> "Decimate 1D Array", located in:
>
> Diagram palette -> Array
>
> This function does exactly what you are asking for.
>
> Regards;
> EJV
0 Kudos
Message 3 of 3
(2,714 Views)