NI Home > Community > NI Discussion Forums

LabVIEW Developers Feature Brainstorming

Showing results for 
Search instead for 
Do you mean 
Reply
Member
gmiles@inventeering.com
Posts: 74
0 Kudos

Re: For Loop with Break

I though it might be usefull.  I use it through out my code when I want both the fuctionality of a For Loop and a While Loop.  As far as indexing to an array, this could be easly done by enabling the indexing and a array size vi conected as N.

The concave sub-VIs act to wrap the Indexer and the loop status objects, but you can easly change the ICONs and fill them in, if the concaved nature irritates you.

In some cases I also add a Globle Stop Boolean to the StatusSHELL.vi to allow all my embedded loops be signaled to return.

Member
MatthieuD
Posts: 28

Re: For Loop with Break

Hi Guys,
 
This is now in LabVIEW 8.5... you can add the stop condition in the for loop :smileyhappy:
 
Matthieu