Edit Tree Items:Set Tag Method

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Short Name: Edit Tree Items.Set Tag

Requires: Base Development System

Class: TreeControl Methods

To Use: Create a method.

Sets the unique tag of a tree control item, which you use to modify the item or to gather information about the item programmatically.

You cannot create a tag that begins with TREE_. All tags that begin with TREE_ are reserved for use by LabVIEW. If the tag you wire to the method begins with TREE_, LabVIEW prepends an underscore (_) to create a valid tag for the item. If the tag you wire to the method begins or ends with white space, LabVIEW removes the white space.

This method is similar to the Tag text box in the Edit Tree Items dialog box.


Data typeNameRequiredDescription
tagYesCurrent tag of the tree control item whose tag you want to set.
new tagYesThe tag you want to use for the tree control item.


The following table lists the characteristics of this method.

Data type
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes


Not Helpful