LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
X.

Conditional indexing should accept Error Cluster

Status: New

The For/While Loop conditional indexing feature (new in LV 2012) is neat but so far only accepts a Boolean. That's departing with the behavior of the Case Structure selector terminal, which accepts error clusters:

 

ScreenHunter_007.jpg<----------- I'd like to connect the error cluster wire in the For Loop directly to the indexing condition terminal

(the case structure outside is just here to show what I mean by connecting an error cluster to the condition terminal of the Case Structure).

Of course the workaround is simple (as shown), but why introduce an even simpler approach for the Case Structure and not offer it here?

 

Edit: The obvious objection is that some will want to index when there is an error, other when there is none, which in fact might be best handled by the approach shown above. An error cluster connection would need a different contextual menu as well (index on error or index on no error).

 

16 Comments
jacemdom
Active Participant

Never thought of LabVIEW through the eyes of color-blind people...it must lose some of its appeal!

AristosQueue (NI)
NI Employee (retired)

Some appeal, but not all, and having some severely color-blind staff has made it a lot better in recent years because they catch us on things like that.

jacemdom
Active Participant

🙂 I forgot that color-bling != seeing in black & white

X.
Trusted Enthusiast
Trusted Enthusiast

What lack of glyph change?

I'd propose this design:

1) Index (or any conditional action) if error:

 

Screen Shot 2017-01-21 at 13.24.08.png

2) Index (or any conditional action) if no error:

 

Screen Shot 2017-01-21 at 13.25.06.png

jacemdom
Active Participant

output_Z1q8eh.gif

JScherer
Member

@X. wrote:

What lack of glyph change?

I'd propose this design:

1) Index (or any conditional action) if error:

 

Screen Shot 2017-01-21 at 13.24.08.png

2) Index (or any conditional action) if no error:

 

Screen Shot 2017-01-21 at 13.25.06.png

 


I would also like to see this implemented. As another use case, I typically like to make an index of which loops generated an error (eg)

error N's.png