LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

edit menu control from block diagram

On my front panel I have a menu control that lists the existing file folders for saving the test data. If the operator want to add a new folder I want the Block diagram to write a new folder and add the entry to the menu control list.
0 Kudos
Message 1 of 2
(2,391 Views)
What I would suggest is that your menu have a selection called "New", then if the user selects this, the file dialog would pop up and allow the selection of a new folder. Using a property node, write the new path to the Strings[] property to update the list. At the end of the program, you could write the list to an ini file to save the new list. You would also want to read this ini file when the program starts and write the list to the Strings[] property.
0 Kudos
Message 2 of 2
(2,377 Views)