NI Home > Community > NI Discussion Forums
Reply
Member
hrwang
Posts: 51
0 Kudos
Accepted 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 

Knight of NI
altenbach
Posts: 26,083

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.

LabVIEW Champion . Do more with less code and in less time .

Member
hrwang
Posts: 51
0 Kudos

Re: data flow of while loop

Thanks,

 

 

Haorong