LabVIEW Idea Exchange

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

Linked Tunnels should work on Case Structure's selector terminal.

Unless I'm missing something Linked Tunnels will not work with a Case Structure's selector terminal. The only reason I can see for this is that it might be considered poor programming style.

 

Linked Tunnel for Conditional Terminal.png

David Grucza, CLD
7 Comments
RavensFan
Knight of NI

You are missing a very major point.

 

A linked tunnel is related to case structures.  A conditional terminal is related to loops.  They have nothing to do with each other.

 

A loop cannot have a linked tunnel because you are only dealing with a single frame of block diagram.  There are no other "frames" of a loop that are hidden or parallel.

 

A case structure can't have a conditional terminal.  I guess it theoretically could, by why?  A case structure is already a conditional structure in itself.  Why would you need to put another condition at the output tunnel of the case structure?  Also, conditional terminals were really more of a way to improve the functionality of auto-indexing output tunnels (although you can had a conditional terminal to a non-indexing tunnel).  A case structure cannot have an auto-indexing tunnel because a single case can only iterate one time.  It is not a loop.

David_Grucza
Member

@RavensFan, I'm not certain if I have the nomenclature right, but please look at the snippet. I have a Case Structure with the input terminal (a condition) wired to an Enum. I want to pass the Enum value through the case structure. Fairly simple.

David Grucza, CLD
garrettmarsh
Member

I think David is referring to the "Selector Terminal", rather than the Conditional.

Darin.K
Trusted Enthusiast
RavensFan
Knight of NI

That makes much more sense.  When I read the idea, the title and/or the text was talking about a conditional terminal.  I see the idea has since been edited to reflect that he was actually talking about the selector terminal.

David_Grucza
Member

@Darin.K

 

My search skills for this forum evidently are not that great yet. I didn't find the idea in your link. Is there a way to delete this or somehow indicate that it is a duplicate? Thanks.

David Grucza, CLD
Dragis
Active Participant