LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Menubar by Editing ini file

Hi All,
 
I want to bulild VI that dispalys Menubar [Header] and submenus on front panel.This all is done through reading \ parsing one *.INI file.
In future user will edit only *.INI file for adding or removing menus \ submenus [User will not modify VI code].
 
Please suggest where i can get such sample VI code. Guidlines are also very needful.
 
 
Thanks regards
 
Tushar 
0 Kudos
Message 1 of 3
(2,776 Views)

Hello,

But what's your problem?

You mentioned:

1 - Read from .ini

2 - Parse this file

3 - create the menu

For points 1 and 3, labview has some examples.

Can you be more specific!

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 2 of 3
(2,770 Views)
You might want to start with the Dynamic Insert Demo.
 
Open Help->Example Finder, Select the Search Tab, and keyword 'Menus'.  Then select the Dynamic Insert Demo.
 
For LabView 8.5 with normal installation it is located here.
C:\Program Files\National Instruments\LabVIEW 8.5\examples\general\menubars.llb\Dynamic Insert Demo.vi
 
It will show how to dynamically add menu items to your runtime menu.
 
How you handle the .ini is a matter of preference.
 
How you respond to the menu selection is dependent on what you want to happen with the menu selection. (Launch a program, open a window, etc.) But a good start for that is also on the Example Finder, select the Menu-Selection with Events example.
Jon D
Certified LabVIEW Developer.
0 Kudos
Message 3 of 3
(2,757 Views)