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 Idea Exchange

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

"Conditional Append" at array indexing tunnel

Compare the upper loop(old) with the lower loop(new).
Take a close look at the loop exit.

 

 

Solution: Right click the indexing tunnel and select "Enable Conditional Append"

This works not only with FOR-Loops. 

 

History: This idea was already presented by me in May 2008 http://lavag.org/topic/7574-conditional-append/page__p__44719&#entry44719 

12 Comments
tst
Knight of NI Knight of NI
Knight of NI

Yes, this definitely needs to be a per-tunnel setting (and the question mark wasn't originally mine, it appears in the original illustration. I agree that it might be better not to have it).

 

Also, I've since learned that Jeff's suggestion can actually be done today. Feedback nodes have the ability to add a conditional terminal, thus allowing that to happen. I still don't like it, though.


___________________
Try to take over the world!
G-Money
NI Employee (retired)