LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

missing assignment to input tunnel

Solved!
Go to solution

Hello,

 

I've added two shift registers and tunnels to an existing LabVIEW program - the highlighted "Pulse Width" and "delta_I" . I've linked them to the input tunnel so the blocks are solid with a white triangle. However, it still gives me errors saying "missing assignment to tunnel" and the "show error" all point to the two input tunnel on the left middle of the picture.

 

The details of this error says it is caused by unwired "output tunnel", but obviously all output tunnel are wired and the error is not even at output tunnel.

 

Any help is appreciated! Thank you!

missing assignment to tunnel.png

0 Kudos
Message 1 of 9
(1,808 Views)

Hi yb,

 

do you mind to post an unscaled image - or even better the whole VI?

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 2 of 9
(1,796 Views)

hi GerdW,

 

I've updated the picture.

0 Kudos
Message 3 of 9
(1,792 Views)

Much better…

 

What's in the other cases?

Are you sure you didn't place tunnels over other tunnels?

Which tunnel is selected when you click the error message in the error report window?

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 4 of 9
(1,788 Views)

There are like 30 cases...

 

Most of them are just connecting the input tunnel directly to the output, except this "initialize" and other two. I'm posting the other two here. but probably they are too messy to read...

 

There are 49 errors, and all of them go too these two input tunnels...

 

What do you mean by "place tunnels over other tunnels"?

 

0 Kudos
Message 5 of 9
(1,777 Views)
Solution
Accepted by topic author yb_85

Hi yb,

 

What do you mean by "place tunnels over other tunnels"?

Sometimes it happens you have two tunnels in the same place at your case structure, one hiding the other.

Please select the tunnels marked as "erranous" (one by one) and move it to a different place to check there is no other tunnel hiding under…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 6 of 9
(1,772 Views)

wow! is it that easy...!!?

 

problem solved! new skill get!

 

Thanks a lot, GerdW!!

0 Kudos
Message 7 of 9
(1,764 Views)

it is possible to have tunnels on top of each other.  this gets really ugly since the tunnels look wired but are not.  there is a VI Analizer test for overlapping (or hidden) objects that would catch this.

 

Try dubble clicking the error in the error list to select the tunnel that is unwired and move the tunnel with the arrow keys to maybe see if there is more than one.

 

EDIT: OK I'm late!


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 9
(1,758 Views)

Thank you anyways Jeff!

0 Kudos
Message 9 of 9
(1,745 Views)