LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I...

I designed, built and tested my first LabView application (applause). It
consists of two VIs: one samples an analog input from an OPC server and logs
the data to a binary file. The second VI is used to view and export the
binary data files. Both VI's have a Stop button that terminates the main
while loop. Now I want to package this application. I'm thinking two
separate executables because collecting and viewing the data can be done
independently. To protect the users from themselves, I'd like to hide as
much of the development tools, like the menu items as possible.

I already figured out how to change the runtime menu to just a single item:
File|Exit. Cannot save an empty menu structure though. Maybe that's the best
it will do. Is it?

Could not figure
out how to create an executable or something that sits on
the Windows Desktop that users double-click to run.

Thanks
TP
0 Kudos
Message 1 of 5
(2,943 Views)
To completely hide the menu bar, go to VI Properties>Window Appearance>Customize and uncheck "Show Menu Bar". To create an executable, you either need the Professional version of LabVIEW or you can buy the application builder separately.
0 Kudos
Message 2 of 5
(2,943 Views)
If you don't want any menu to be visible at run-time then you can disable it in the vi properties. In LV 6 goto VI Properties, from the drop down ring pick Window Appearance. Click the Customize button and then deselect the Show Menu Bar option from that window. The next time you run the vi the menu will dissapear until it is stopped.

If you want an executable you need the Application Builder. It is part of Professional Development System or if you don't have that it is available seperatly from NI ($995 I think).

You could also set you VI to run when open in VI Properties>>Execution. That way you can put a shortcut to your VI on the desktop and it will come up running when the user opens it .

Hope this helps

Brian
Message 3 of 5
(2,943 Views)
Thanks guys!

"Brian Vibert" wrote in message
news:506500000005000000134D0000-1004225886000@exchange.ni.com...
> If you don't want any menu to be visible at run-time then you can
> disable it in the vi properties. In LV 6 goto VI Properties, from the
> drop down ring pick Window Appearance. Click the Customize button and
> then deselect the Show Menu Bar option from that window. The next
> time you run the vi the menu will dissapear until it is stopped.
>
> If you want an executable you need the Application Builder. It is
> part of Professional Development System or if you don't have that it
> is available seperatly from NI ($995 I think).
>
> You could also set you VI to run when open in VI
> Properties>>Execution. That way you can put a
shortcut to your VI on
> the desktop and it will come up running when the user opens it .
>
> Hope this helps
>
> Brian
0 Kudos
Message 4 of 5
(2,943 Views)
The other responders to your question covered the EXE question but I am curious about why you are compeled to create 2 executables. Technicaly you won't have any problems but it is more convenient for a user of your software to do both tasks from one common interface rather than having 2 executables to worry about. You can just as easily do the 2 tasks you're proposing in 1 VI using parallel loops and just 1 executable...

Just my 2cents...


Michael Aivaliotis
VI Shots LLC
Message 5 of 5
(2,943 Views)