LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with application items in custom run-time menu after build. LV8.5.1.

Can anyone tell me why some application items does not work in custom run time menus after building a stand-alone application.
I have tried to make a custom menu including the application item "Options..." "APP_OPTIONS" and it works fine when I test the VI but in a stand-alone application (.exe) this item is missing.
I use LabVIEW 8.5.1.
0 Kudos
Message 1 of 5
(2,882 Views)
Tools>Options is for configuring the development environment so it would not make much ense to have this available in an exe.
0 Kudos
Message 2 of 5
(2,872 Views)

I have used this item in older applications to be able to change search paths and some frontpanel settings and it has worked fine until I upgraded to LV8.5. Besides, as described in the Help section, it should be available in stand alone applications.

Is there any other way to control these settings in the exe-file?

0 Kudos
Message 3 of 5
(2,864 Views)
You're correct, older versions of LabVIEW did give you the ability to set a couple of things with an options menu. I can't find where in the LabVIEW help that this is supposed to be supported in 8.x. Can you provide the topic where you found this?
 
As a workaround. when you modify anything from the options page, these changes are stored in the LabVIEW.ini file. You could create your own VI that you call from a custom menu and write to your application.ini file.
0 Kudos
Message 4 of 5
(2,840 Views)
Under topic "Application Item Tags" you will find the text:
 
Items followed by two asterisks (**) are available in stand-alone applications you build in LabVIEW.

And in the list that follows you can see that Options under Tools menu have two asterisks.

I have now changed my application so it uses a custom ini-file instead. In future programs I think I will do as you described. I just discovered that LV8 has new features for creating and configuring ini-files so that's probably how to do it.

0 Kudos
Message 5 of 5
(2,825 Views)