I am having trouble getting all of my data points (which I have put in an array) from inside a while loop. Once the conditions of the loop are met, I want all of the sampled waveform data, about 360 points, to go to the next stage . I thought that if I create an array within the loop, all the data would be collected in the array, and then passed onto the next stage once the conditions of the loop were met. Unfortunately, I only end up with one sample after the while loop is done. How can I bundle all my data together while the loop is executed and have it move onto the next stage, where I can use it for calculations, without losing any data? I will be using Simpson's Rule for a circle on the data poin ts, so there are some calculations that need to be done.....but one thing at a time 🙂
Also, I am using LV 4, so I am somewhat limited as far as capablities.
Have you right-clicked on your output of the while loop (tunnel) and toggled the indexing mode? While-loops default to disabled indexing, which means only the last loop's value will output, versus the values from all loops with enabled indexing.
I don't have the option to autoindex because I am using LV version 4.0, which is obviously very limiting compared to version 6. Is there any other way to do this? I have attached my VI to help in answering my problem.