LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I currently have one input but need to run two loops. I cannot get the two while loops to run so that they both pick up the same data, they are both picking up alternate samples. How can I get them to both pick up all of the values?

The system I am trying to create calculates a number of values based on an input. I need to make the calculations and display the values for an entire production run and for each hour. The only way I know to do this is to create two while loops, one looking at all the values that are received and one looking only at the values for hour long periods.
Any help would be great.

Thanks

RossH
0 Kudos
Message 1 of 2
(2,317 Views)
Why do you think that you have to have two loops to accomplish this task? Why not use one loop and accumulate the same data into two data sets based on the two sets of criteria?
0 Kudos
Message 2 of 2
(2,317 Views)