Efficiently Adding Items to Tree Controls

Updated Mar 19, 2021

Reported In


  • LabVIEW Full
  • LabVIEW Base
  • LabVIEW Professional

Issue Details

How do I add a large number of items to a tree control quickly?


  • Enabling Defer Panel Updates greatly increases the speed of adding items to tree controls. Defer Panel Updates increases speed because it defers updating the front panel for changes in values of controls and indicators.
  • Another useful method introduced in LabVIEW 8.0 is Add Multiple Items to End, which allows the addition of multiple items at once. By bundling all the items together and writing once, Add Multiple Items to End saves time. If you get Error 1088 make sure your tree control has at least one item before adding new childs or change the Item Indent to 0.

Additional Information

Prior to LabVIEW 8.0, items were only able to be added individually.