LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Publishing my application.

Dear all:

I'm a beginner in Labview.
I have just written my application code, a pulse generator.
How can I make my application to have normal appearance in windows or the stand-alone application.
(I want to remove some labview system menu(+icons) not to use in my application.)

When I launch my application, how to make it single rund mode? (For example, I want to push a start(stop) button to start(stop) in my application)

Thanks in advance.
Sungjun.
0 Kudos
Message 1 of 3
(2,533 Views)
To make a truly standalone program that does not require LabVIEW installed on the target machine, you need the application builder.

However, it seems to me you just want it to act as similar to a standalone program.

Check the "file..VI properties" of your toplevel VI.

In particular...
* execution: Check "run when opened"
* Window appearance: Select "Top level application window", then customize further to your liking.

Your program should always be running. Simply handle your situations with a state machine and use an idle state if nothing should happen except waiting for further user input. Stopping the VI should close the VI.
0 Kudos
Message 2 of 3
(2,533 Views)
To customize your runtime menus you have two options. You can start with the standard menu and delete items you don't want (or add new ones) at runtime. Alternately you can use the runtime menu editor (accessible through the Run Time Menu... command under the Edit menu) to create your own menu from scratch. There are good example shipping with LV that show how to create menus and respond to user selections.

In terms of making it have a single run mode, the good, low overhead way is to have your code inside a case structrue. This case is, in turn, inside a while loop. The select node is connected to a front panel button. When the button is pressed the case containing your code is selected. When it's not, a case containing nothing but a small delay is execute
d.

Assuming a button with a momentary action, this construction results in a vi that executes your code once for each time the button is pressed.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,533 Views)