LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CLAD missed question

Solved!
Go to solution

I took the CLAD and missed a question I cant quite remember but I'm trying to find some kind of answer for. It basically was about linked tunnels, it included a picture of a structure with a tunnel and the tunnel had been right clicked on.  The linked tunnel option was grayed out, with a question saying something like why is this option grayed out.  The only way i can recreate this on my computer is like the attached image.  I read up on linked tunnels but don't see anything specific as to why it would be grayed out.  I found a few threads on this being a bug but that didn't really answer the question.  Does anyone else remember this particular question?  I assume in my example its grayed out because Labview doesn't count the case selector as an input tunnel.  So is there any instance when link tunnels would be grayed out for another specific reason?

Linked tunnel.png

 

Thanks in advance for any help.

 

0 Kudos
Message 1 of 5
(3,277 Views)

i think you have the answer, that the selector doesnt count as input.

 

mpf1.png

on the right side terminals, with right mouse i get:

- S1 "Linked Input Tunnel" is available

- S2 "Linked Input Tunnel" is available

- selector "Linked input Tunnel" is greyed

 

but i would like to know too wether that is a feature or a bug


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 2 of 5
(3,261 Views)

i tested a little further,

it seems, that the output is a different type then available inputs,

but it still seems that the selector is not counted as input

mpf2.png

try to connect one of the numeric/enum outputs to the selector

and afterwards remove the numeric input (0) and you will see,

that "Linked Input Tunnel" is greyed


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 3 of 5
(3,249 Views)
Solution
Accepted by topic author willidg

I would suggest opening LabVIEW help and searching "Link Input Tunnel Method". The 2nd from top option "ConditionalTunnel Methods" describes what linking tunnels does. Selecting "Link Input Tunnel" and selecting an input tunnel will make it so all new cases in the case structure will have the linked tunnels wired already to save you time.

 

A useful example for this feature is if you had a state machine architecture, where the case structure has a false constant wired to an input tunnel, and most cases wired through to an output tunnel that went to the conditional stop of a while loop. 

 

the option is grayed out when there is not a corresponding input tunnel of the same representation that your output tunnel can link to. 

Message 4 of 5
(3,247 Views)

I see now.Tunnel.pngThis cleared it up for me.

 

"the option is grayed out when there is not a corresponding input tunnel of the same representation that your output tunnel can link to"

 

Thanks for the help.

0 Kudos
Message 5 of 5
(3,230 Views)