NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
hrwang
Posts: 49
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: 23,145

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: 49
0 Kudos

Re: data flow of while loop

Thanks,

 

 

Haorong

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page