03-11-2015 01:57 AM
I am using an EDIT VI inorder to create MODEL, DRAWING NO and the other parameters and save it. For each new MODEL a new folder will get created at a specific path.
How can I populate all those MODEL names in the dropdown of a control?
03-11-2015 02:02 AM - edited 03-11-2015 02:03 AM
What do you have so far?
03-11-2015 02:06 AM
Dear Bill,
I am able to create the folders of different models. But while clicking the drop down of the MODEL(control) I need those folders names to get populated.
03-11-2015 04:21 AM
If I undesrstand correctly you have a specific path containing sub folders, and you want to list all subfolders in a drop down manu?
you should create a manu ring that you'll use as your drop down manu.
then use the vi "list folder" on your path to get a list of all subfolders, and wire it to a "strings[]" property node of the ring control. The ring manu will then be populated with the list of folders.
http://digital.ni.com/public.nsf/allkb/FB0409491FAB16FA86256D08004FCE7E
hope that helps