LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front panel freezing

Solved!
Go to solution

When I run my VI it will navigate between the tabs and the front panel will not freeze if I don't enter the correct code and simply press the home button.  However, when I enter the correct code (1234) then the program brings me back to home tab but then freezes the front panel.  I tried running it without highlight execution on until I enter the code and then quickly press the light bulb to see it step through and when I do this it goes back to the home screen and doesn't freeze so I am drawing a blank on why it is freezing.  Any help would be greatly appreciated!!

 

I am new to Labview so I am sure my coding is poor.

0 Kudos
Message 1 of 2
(2,548 Views)
Solution
Accepted by topic author KWILL

Your code is inside out.  Why is the case structure your outermost structure?  Which case will run is determined by what tab is selected when you press the run button.  The while loop needs to be the outermost structure.

Message 2 of 2
(2,546 Views)