02-14-2018 07:09 AM
I have a 1-D array of 500 numbers. I would like to use average of 5 data points. I found an example of Mean PtByPt in a loop. But nothing is connected to "i" and "N" inside the loop. Does the vi take care of "i" and "N" based on user input (500 elements and 5-data average)? How many elements are there in the output array? Thank you.
Solved! Go to Solution.
02-14-2018 07:40 AM
02-14-2018 08:09 AM
So nothing is connected to "i" or "N". Thank you. I am still not clear about the output array. Regarding the first element of the output array, is it the average of first 5 data points? What about the last element of the output array? Please explain these to me. Thank you.
02-14-2018 08:17 AM
@knowlittle wrote:
I have a 1-D array of 500 numbers. I would like to use average of 5 data points. I found an example of Mean PtByPt in a loop. But nothing is connected to "i" and "N" inside the loop. Does the vi take care of "i" and "N" based on user input (500 elements and 5-data average)? How many elements are there in the output array? Thank you.
Autoindexing Tunnels is a very basic concept in LabVIEW. I highly recommend you take some of the free online tutorials.
3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products
In short, the FOR loop will iterate on the input array and will iterate once for each element in the array.
02-14-2018 09:23 AM
Thank you for the links. I will take those courses.