Use the tree control in LabVIEW to give users a hierarchical, collapsible list of items from which to select.

You organize the items you enter in the tree control into groups of items, or nodes. You can expand a node to display all the items in that node and collapse a node to hide the items.

When you type characters in a tree control at run time, LabVIEW selects the first item in the tree control that begins with the characters you type.

You can change the hierarchy of items in the tree control.

You configure items in a tree control the same way you configure them in a listbox. You can also change the type of symbol that appears next to each node. You can configure whether the user can drag and drop items within the tree control.

You can use an Invoke Node to modify items in the tree control and to gather information about items. For example, you can detect which items, if any, the user double-clicked. When you add an item in the tree control, LabVIEW creates a unique tag for the item. Use this tag to modify items or to gather information about items programmatically. To modify the tags that LabVIEW creates for each item, right-click the tree control and select Edit Items.