From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,455 Views)
Solution
Accepted by topic author 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,454 Views)

Thanks,

 

 

Haorong

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