LabVIEW Idea Exchange

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

Having an initializer terminal for the starting index(i) of the For loop.

I started working on LabVIEW after I joined NI 4 months back and I think we can give the option of initialising the starting index- 'i' of the for loop, just like we do in other text based programming languages. e.g In case of implementing a selection sort algorithm, the second for loop is initialised with the starting index of the first for loop, in LV I cannot do that! It'll be nice to provide this option, which can be made optional.

3 Comments
tst
Knight of NI Knight of NI
Knight of NI

This has been suggested several times. I believe this is the earliest:

 

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Smart-Iterators-with-Loops/idi-p/967321

 

There are some additional details here:

 

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Real-For-Loop/idi-p/1211713


___________________
Try to take over the world!
A-T-R
Member

Hi Pavan,

in particular you as an NI employee should use the search function in the LV IE.

 

This also applies for your other suggestion:

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Changing-the-position-of-sequence-locals/idi-p/1810622

 

 

JordanG
NI Employee (retired)