Efficiently Adding Items to Tree Controls

Updated Aug 24, 2023

Reported In


  • LabVIEW Full
  • LabVIEW Base
  • LabVIEW Professional

Issue Details

  • How do I add a large number of items to a Tree Control quickly?
  • What Control can I use to create a multi-level selection menu in LabVIEW? How can I  use it?


  • 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.