cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

data flow of while loop

Solved!
Go to solution

data flow of while loop

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
(342 Views)
Solution
Accepted by topic author hrwang
08-27-2015 04:09 PM

Re: data flow of while loop

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
(341 Views)
Highlighted

Re: data flow of while loop

Thanks,

 

 

Haorong

0 Kudos
Message 3 of 3
(313 Views)