07-06-2017 01:32 PM
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?
Thanks in advance for any help.
Solved! Go to Solution.
07-06-2017 01:42 PM - edited 07-06-2017 01:43 PM
i think you have the answer, that the selector doesnt count as input.
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
07-06-2017 01:49 PM - edited 07-06-2017 01:52 PM
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
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
07-06-2017 01:50 PM
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.
07-06-2017 02:09 PM
I see now.This 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.