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
Name | Required | Description |
---|---|---|
tag | No | Current tag of the tree control item whose tag you want to set. |
new tag | No | The tag you want to use for the tree control item. |
output | No | New 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 System | Yes (Read/Write) |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | No |
Available with global VIs | No |
Available with strict type definitions | No |
Available with polymorphic VIs | No |