From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get files from a path in Tree view

Solved!
Go to solution

I need a create a application which can take the input path from user and with that path as reference, it needs to display the subfolders and files inside that in tree view.

 

On the displayed list the user will select particular files and move to the required file list (list 2).

 

I have attached the format in which is it required.

 

Kindly help me to get this.

0 Kudos
Message 1 of 3
(3,216 Views)
Solution
Accepted by topic author Mr.7

Hi Arvinth,

 

In your VI Help>Find Examples>Tree, there are many examples for the tree operations. Refer those examples.

See the Tree Enhancements example this will show you how to popup the files or folders.

In this example if you right click on tree control there is a option selection mode in this default is 0 or 1 item.

So you can select only one item at a time.

According to your requirement you want to provide a multiple selection to user so change it to 1 or more items.

 

Now by using Tree Property and Method you can achieve your target.

 

Thanks and Regards

Himanshu Goyal

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Message 2 of 3
(3,209 Views)

Thanks alot Himanshu. Got exactly what I need.

 

Thanks much.

 

Regards,

Arvinth

0 Kudos
Message 3 of 3
(3,188 Views)