02-03-2010 10:49 AM
Hi I am writting a program for a research project at penn state behrend. It is designed to take values from a pressure transducer and calculate pressure drops. My professor wants to collect values in incriments of 10, average them and then store all the averages when you user selects to start saving. I am using a for loop to collect values and output the averages of the 10 collected values into an array. After 10 averages are collected the program outputs those values to an array. I cant figure out how to keep adding to that array without overwriting the previous values. Any help would be appreciated. I'm uploading what I have so far. Thanks,
PS I am using a random number generator for testing purposes only
ajh305
Solved! Go to Solution.
02-03-2010 10:52 AM
Key words:
Build Array function
shift registers