LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to populate the folder names from a particular folder in the drop down of a control?

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?

0 Kudos
Message 1 of 4
(2,409 Views)

What do you have so far?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 4
(2,405 Views)

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.

0 Kudos
Message 3 of 4
(2,401 Views)

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

0 Kudos
Message 4 of 4
(2,385 Views)