LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hiding menu bar in main vi when we need to run that vi as executable file

Hi All ,
 
Can anybody let me know ,if it is possible to hide the menubar in main VI when we are trying to build executable file for that vi so that we can not find menu bar in executable file of that vi.
 
Thanks !
Regards !
Sarita
0 Kudos
Message 1 of 13
(9,933 Views)
Hi Sarita,

right-click on icon of vi, select vi properties, go to window appeareance, customize, uncheck 'show menu bar'. This also works when 'normal' vi is running (not in exe format).
You can also use a propertiy node to set this property while running!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 13
(9,929 Views)
You can also set an option in the application builder to turn the menu bar (and many other options) off when the application built.
 
Requires no extra programming and leaves the menu on during development.
 
 
Ed

Message Edited by Ed Dickens on 02-20-2007 01:35 PM



Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 3 of 13
(9,915 Views)

Hi ,

 

Thanks for your reply.I had tried that option already ,but it did not serve my purpose.Can you please provide me detailed information regarding the check boxes i.e.which check box should i check mark and which one should not be check marked.

 

Regards

 

0 Kudos
Message 4 of 13
(9,871 Views)
Hi MindPower,

it's the option 'Show menu bar': switching off both 'use vi settings' AND 'value' should hide the menu in the executable... (not tested but using mind power 😉
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 13
(9,867 Views)

Hi Gerd ,

 

Thanks for your prompt reply .It is great to find people using mind power like me .................................

Anyways,i have tried all possible permutation and combinations with those vi settings to hide menu bar in my executable file,but my mind power has been drained now .I would request,if you can also try doing the same thing and check where I am going wrong.

Thanks & Regards !

Sarita.....MindPower

0 Kudos
Message 6 of 13
(9,857 Views)


@MindPower wrote:

Hi ,

Thanks for your reply.I had tried that option already ,but it did not serve my purpose.Can you please provide me detailed information regarding the check boxes i.e.which check box should i check mark and which one should not be check marked.

Regards


I'm just curious here, but how did it not meet your purpose?

Maybe we're not really understanding what you're trying to accomplish.

The checkboxes I showed above and  Gerd described the proper settings will turn off the menu bar (the "standard" Windows type menu with "File", "Edit", "View"....) in the executable, but will leave the menu bar on while you are developing in LabVIEW. If this does not work, then it's possible that somewhere in your application there is a property node programtically turning the menu on. This would override the application builder setting.

If this is not what you are trying to do, please explain a bit more.

Ed

Message Edited by Ed Dickens on 03-12-2007 07:41 AM



Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 7 of 13
(9,855 Views)

There is a known bug for the application builder settings. The VI settings (development environment) of the main VI of an application will not be overwritten by the settings of the application builder. See below extract from a previous discussion :

Unfortunately, we are aware of the VI Settings bug in LabVIEW 8.20. This was reported to R&D (# 42AA340Z) for further investigation. A possible workaround for this issue is to specify the VI Settings you want in the development environment.

Michael K. | Applications Engineer | National Instruments

0 Kudos
Message 8 of 13
(9,823 Views)

hHi,

sarita just follow the below link

 

http://digital.ni.com/public.nsf/allkb/17803AA31C8C07C986256CFD0080D609

 

Save the .rtm file as the your application name ....

0 Kudos
Message 9 of 13
(6,452 Views)

@kiruthiga_timothdev wrote:

hHi,

sarita just follow the below link

 

http://digital.ni.com/public.nsf/allkb/17803AA31C8C07C986256CFD0080D609

 

Save the .rtm file as the your application name ....


Why do you reply to a 10 years old post? The OP was logged in last time in 2007...

0 Kudos
Message 10 of 13
(6,442 Views)