Edit Tree Items:Set Tag Method

LabView Local Project Settings

Edit Tree Items:Set Tag Method

Short Name: Edit Tree Items.Set Tag

Installed With: Full Development System

Class: TreeControl Methods

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

NameRequiredDescription
tagNoCurrent tag of the tree control item whose tag you want to set.
new tagNoThe tag you want to use for the tree control item.
outputNoNew tag for the tree control item. If the tag you wire to new tag is not unique, LabVIEW appends a number to the tag and returns the new tag in this output.

Remarks

The following table lists the characteristics of this method.

Available in Run-Time Engine and Real-Time Operating SystemYes (Read/Write)
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 disallowedNo
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo