> What I have done is wired a switch to the "EXIT LABVIEW" icon and the
> logic is wrong. I have also changed some of the setting in the
> "Execution Options" such as "Run When Opened" so when I run the vi
> from LABView it immediately shuts down. Does anyone know how to
> regain control so I can correct the problem .
From Explorer, you can drag your top level vi to a new untitled block
diagram. When the vi is in the block diagram, double-click on it and it
will launch without running.
> Also how do you go about making an executable? I've noticed that I
> have to setup the "Windows Options" and "Execution Options" before
> doing a build which means I have to save the new program and it looks
> like its possible to use "Application Builder" to create the
> exec
utable but then you can't edit the VI anymore. So do you just
> remember to save a copy of the VI off first and then do the changing?
Either that or just use the above mentioned trick to turn off the "Run
When Opened" so you can do further editing on your vi.
> Does anyone have the setups you would use to make a vi look just like
> a windows program?
Try unchecking "Show Scrollbars", "Show Menu Bar", "Show Tool Bar"
in VI Setup.
>So far when I was stoping the program with a button when it ended the
menu's >came back along with the vi's icon. I don't want the user to see
any of
> this. It's just run, stop, exit (close the window).
When you use Exit in an exe, the app will disappear like a normal program.
I have created a little routine that tests to see if the app is a
development vi
or an exe. (using VI server Application:App Kind ) If you are in
development, use "Stop", if you are in Run Time use "Exit" to close the app.
Alan Brause