LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
mathmansteve

Conditional Structure can overlap for loop or while loop boundaries

Status: Declined

The idea is that a single conditional statement could overlap a for loop (or while loop) boundary.  I don't know exactly how to enable the feature in the block diagram but it seems like it could be very useful when you have routines that are different for each case that run both outside and inside the loop passing data between them (see example block diagram).  This can be done right now with two conditional structures but it is just not as clean a solution.

ConditionalOverlapExample.PNG

2 Comments
RavensFan
Knight of NI

I'm sorry, but the concept you are showing is just not that clear.  It took me a few minutes to understand what it is your are trying to do.  I think this is way too complicated to try to link two structures in this way for a fairly limited number of use cases when the current technique of two case structures, one before the loop and one inside the loop is perfectly acceptable.  I disagree with you that the current solution is not as clean of a solution as what you are proposing.

G-Money
NI Employee (retired)
Status changed to: Declined