09-10-2008 10:42 AM
Hello,
I have a vi that collects graphical data from an instrument in a 2D array (401 points exactly). I would like to do more than one sweep and then do statistics on the collected data.
How can I collect the data after each iteration and then carry out the analysis on the collected data?
Any help will be greatly appreciate!
Thanks,
hiNi
09-10-2008 10:48 AM
You could use the Producer / Consumer architecture, where your Producer loop obtains all the data and sends it to the Consumer loop at the end of each iteration. The data could be sent to the consumer loop as a series of 1D arrays via a queue. The Consumer Loop could do the analysis as well as combine the data (1D array) into a 2D array for storage to file.
Do a search on "Producer Consumer" and you should be able to find some examples.
R