LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie: Appication.exe via LV5.1 Application Builder ...

I picked the "Waveform Graph.vi" distribution example and selected
"Build Application ..." from the "project" manual
and built it. After that an "Application.exe" file was created in my
windows/TEMP/app directory.
But when I double clicked "Application.exe", a dialog appeared saying
"Choose the VI to open:" instead of running
Waveform Graph.vi. Is this a normal behavior of LV? If not, what did I
do wrong? (I would have expected something
like the front panel of Waveform Graph.vi will show up after double
clicking Application.exe in this case.)
TIA.
0 Kudos
Message 1 of 5
(2,783 Views)
How did you build it? From the application builder, did you select Waveform Graph.vi as the top level VI? You can't just open a VI and select Build Application and have the open VI be included in an exe. In fact, you can't have the VI open at all when you build it. The release notes for the application builder has a section on how to build an application.
0 Kudos
Message 2 of 5
(2,783 Views)
At least in LV 5.0, when you select build application, there's an option to embedd vi library, there you must select the llb where your app is included with all the subVI's needed, and then select a top level vi. If you don't select a embedded llb, you will create an exe that will give you the option to execute vi's.
Hope this helps
0 Kudos
Message 3 of 5
(2,783 Views)
Thank you for both messages. Coming from a different IDE environment
I had mistakenly assumed that "build application" implies implicitly
building an standalone application from the "present" openned vi(s).
I had succeeded in building an application from the "Waveform
graph.vi" after
correcting the error. For the program
I actually need to develop however, the built task should not allow
user to change
the data fields at all (e.g., right mouse click to "Reinitialize to
Default") interactively.
In fact, is there a way to specify in the builder so that all right
mouse click options
are disabled in the target task?
Thanks again.
0 Kudos
Message 4 of 5
(2,783 Views)
> In fact, is there a way to specify in the builder so that all right
> mouse click options
> are disabled in the target task?

This option is available in the VI Properties/VI Settings dialog.

Greg McKaskle
0 Kudos
Message 5 of 5
(2,783 Views)