LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data flow of while loop

Solved!
Go to solution

What's the data flow of a while loop?

Assuming I have a while loop and the operation result (a single number) is wired out as an output. My question is, what is the output, is it an array of numbers accumulated from each loop, or it is a single number of final loop?

 

Thanks 

0 Kudos
Message 1 of 3
(2,462 Views)
Solution
Accepted by hrwang
By default you get the last value. You can enable autoindexing on the tunnel (right-iclick...) and you'll get an array of all values from all iterations.
Message 2 of 3
(2,461 Views)

Thanks,

 

 

Haorong

0 Kudos
Message 3 of 3
(2,433 Views)