LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

collect data after iterations then perform stastics

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

0 Kudos
Message 1 of 2
(2,170 Views)

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

Message 2 of 2
(2,169 Views)