LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unused case structure

Solved!
Go to solution

Hi,

 

I am having trouble with case structure. I am not using a few case, I tried to remove the case. By doing so I recieved an error msg "No case for some selector value". I also tried to leave the case as it is and there was also a msg of "tunning:missing assignment to tunnel".

 

case structure.PNG

 

 

0 Kudos
Message 1 of 2
(2,829 Views)
Solution
Accepted by topic author S.Neo

When you use a Boolean as a case selector you will have only 2 cases and both must be present, removing a case out of this doesn't have any use case of a case structure altogether. The "missing assignment to tunnel" is because you pass value out of the case from one case and on the other case the value is undefined, you must right click the tunnel and select "Use default if unwired".

Please go through the LabVIEW basic 1 and 2 which gives you details about these basic programming stuffs.

-----

The best solution is the one you find it by yourself
Message 2 of 2
(2,799 Views)