Showing results for 
Search instead for 
Did you mean: 

why my VI shows tunnel missing assignment?

Go to solution


I need to control two relays, if one open, then the other closed. This is decided by the numberic input is higher than 47 or not. Then, i hope if click stop button, all the setting to the two relays can reset to initial status.


However, my VI shows tunnel missing assignment. Does anyone know why?

Thank you.

0 Kudos
Message 1 of 5
Accepted by topic author jzhu001

Inside your case structure, the boolean wire goes to two different tunnels.  Look in the True case and you'll see it goes to a second tunnel.  Not the tunnel that is wired in the true case and to the stop conditional terminal.


If you click on the broken run arrow and look at the list of errors, pick the error and click Show Error.  It will highlight the bad tunnel, and even switch to the case that is causing the problem.  (Or one of the cases causing the problem if there is more than one case missing a wire,)



Crossrulz is right about the tunnel being hidden.  One of the first things I did with your VI is click Clean Block Diagram which I do whenever I see messy wiring in a VI I download.  That uncovers the bad tunnel.

0 Kudos
Message 2 of 5

Because you have a tunnel hidden that is not properly wired up and not set to use the default.  From the error window, double click the error and it will should you the tunnel.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5

Thank you for this helpful suggestion. There is a tunnel hidden. Smiley Happy

0 Kudos
Message 4 of 5

Using the "Distribute Items by vertical centers" will also expose hidden tunnels



Distribute items by vertical centers.png

0 Kudos
Message 5 of 5