LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application builder - Why my .exe opens with running status?

I have no problem in building the application. But when I open the application, it is always in running status. Thus I couldn't input control variables. The other applications I built don't have this problem though. The .vi and .exe files are attached. Thanks a lot for your help.

Etain
0 Kudos
Message 1 of 3
(2,768 Views)
I'm not at my Labview PC, but I seem to remember that if you go to App Builder and select the tab which lists all the component VIs, you can scroll down to your top level VI and change its option from Run When Opened

Richard
Message 2 of 3
(2,764 Views)
Richard gave you the right answer on how to change the behavior but typically, you would want your app to start automatically. Most programs are designed so that nothing is done until you do something like hit a start button. This could be done with an idle state if using a state machine or a separate while loop. You also might have a problem lith the use of your local variables. You have no data flow between getting Header Byte Number and the while loop that reads it. You may have the problem that the while loop will actually start before File Info gets the information. If you want that to run first, directly wire File Info to where you are initializing the shift register.
Message 3 of 3
(2,759 Views)