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: 

How to Optimize the execution time for Tree Update

Hello All,

 

I have around 15000 Array Elements which i want to update in tree View based on Indentation value, its taking more than 30 min even after using defer panel update properties.

 

Is there anything we can do to optimize the execution time.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 2
(2,061 Views)

I do not think you can see all the elements at once, so why not try to update only the elements that are shown? You would need to keep track of where in the list the user is viewing, whether the user changes the scroll bar etc.

 

mcduff

0 Kudos
Message 2 of 2
(2,053 Views)