Edit Tree Items:Set Tag Method

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.

Parameters

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.

Remarks

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