LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree View of files and folders

Hi all,a

  IN my application i want to show all the folders present in a system in a tree view.Ihave attached the vi which i have developed,but its taking too long time to show.Can anybody suggest me a easy way to do that

 

 

Thanks and regards,

srikrishna.J

Regards,
Srikrishna


0 Kudos
Message 1 of 3
(4,447 Views)

Hi,

 

Sorry I can't open your code as I only have 8.6 installed at the moment. I suspect most of the speed issue is to do with the way you are recursively listing files. However, a quick tip to speed up populating tree controls and tables etc is to disable front panel updates for the duration your are populating the control. You can do this like so

 

defer fp updates.JPG

 

Of course you must remmember to write a FALSE to the property node after you have completed your control population.

 

Regards,

 

Steve

Message 2 of 3
(4,429 Views)

This was helpful Steve... made a huge difference in performance.

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