Overview
he The Asset Tree is a graphical tool on the software platform for organizing solution solution data within a customizable hierarchy. It enhances navigation, data management, and visualization of complex industrial systems. Users can create folders, add tags, and associate metadata (e.g., alarms, historians). During runtime, the AssetTree AssetsTree Control displays the hierarchy, allowing interaction with elements and viewing of relevant data. The ASSET() syntax allows programmatic access to asset elements for integration with other system components and processes.
Tip | ||
---|---|---|
| ||
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
Key Concepts and Terms
Asset Tree
Hierarchical A hierarchical representation of the solution’s real-time data variables, composed of tags and nodes.
Element
Any item in the Tree, whatever is a Node node or a final branch.
Asset Folder
Nodes in the tree that are containers for other objects or partial paths for TagNames.
BaseTagsRootTags Folder
Pre-defined node holding all tags not in any Asset Folder, helping manage large solutions.
Linked Folder
Dynamically A folder dynamically linked to data from a TagProvider Connection.
Understanding the Asset Tree
The Asset Tree is the main centralized location for the Configuration of configuring your Unified Namespace, Tags and Assets Organization. At tags, and assets organization. In this interface, you can create AssetFolders, new Tagstags, move elements on within the Treetree, and create connections with external TagProvider Connections.
When the Solution solution is running , and the Designer is connected with to the Runtimeruntime, the Asset Tree also shows displays the current Values values for the Tree tree elements.
Asset Tree User Interface
The left side shows the AssetTree with its own- Left Side: Shows the Asset Tree with a toolbar for localized actions.
- Right Side: Displays detailed information about the selected Node and its children
the children's of the selected element.
Asset Tree Toolbar
Create a new folder: Folders allow you to organize, group, and create hierarchies for your assets. Click the new Asset Folder icon to create one or right-click the Asset Tree.
Create new tags: After selecting a folder, use the New Tag toolbar button or the right-click menu to create a new tag inside that folder.
Move tags to selected folders: Drag tags from the BaseTags folder or other locations to the desired placement level in the tree.
Insert remote assets: If an ExternalTags connection is defined, you can insert specific assets from the external system into the asset tree.
Configuring the Asset Tree
Configuration Workflow
The Asset Tree configuration is located at Unified Namespace → Asset Tree.
The Asset Tree has pre-defined folders:
BaseTags: All local tags created in the solutions that were not placed in any folders (levels) are automatically placed in this folder.
TagProviders: When creating ExternalTags connections, they are automatically included in this folder, so you can easily browse the dynamic contents of the remote system.
The typical action when configuration the asset tree are:
Create a new folder: Folders allow you to organize, group and create hierarchies for your assets. Click the new Asset Folder icon to create one or right click the Asset Tree.
Button actions
- Reload the Tree: Refresh the Asset Tree structure.
- New Asset Folder: Create a folder in the Tree to store assets.
- New Tag: Create a tag in the Asset Tree.
- New TagProvider Connection: Establish a TagProvider connection for data retrieval.
- Insert data from TagProvider: Insert TagProvider data into the folder on the Asset Tree.
- Edit Element: Modify element properties in the Asset Tree.
- Rename Element: Change the name of an element in the Asset Tree.
- Create Data Template: Define a data template based on the selected element.
- Collapse All: Collapse all Folders in the Asset Tree.
Move Tags to selected folders: Just drag tags from the BaseTags folder — or other location — to the desired placement level at the tree.
The image below describes an example of a solution's hierarchy.
By right-clicking any folder or tag, you can also rename it directly from the Asset Tree. You can copy/paste Asset from one folder . By doing so, all Tags (and their Alarms, Historian, and Device .
You can also have the same name Tag in more than one folder.
Once your solution is running, you will be able to monitor the TagConfiguring the Asset Tree
Configuration Workflow
The Asset Tree configuration is located at Unified Namespace / Asset Tree.
The Asset Tree has a pre-defined folder called "RootTags," which contains all local tags not placed in any other folders. For system integrity reasons, it is not possible to create new asset folders inside the RootTags folder; this is the only exception in the software.
The image below describes an example of a solution's hierarchy.
Adding New Asset Folders
- Click the "Add Asset Folder" icon on the toolbar of the Asset Tree
- Right-click on the RootTags folder on the Asset Tree.
- Right-click on a created Asset folder on the Asset Tree.
Adding New Tags
- Click the "New Tag" icon on the toolbar of the Asset Tree
- Right-click on the RootTags folder on the Asset Tree.
- Right-click on a created Asset folder on the Asset Tree.
- Use the "New Tag" button in the main toolbar.
You can add Dynamic Data from the ExternalTags inside your treeview structure. For more information, please refer to the UNSTagProviders Connections documentation.
To create tags and folders in the Unified Namespace, follow these simple steps:
Go to Unified Namespace → Asset Tree.
Add New Asset Folders
Add New Tags
If you don't specify a folder, the new tag will be placed in the 'Base TagsRootTags' section of the tree.
Working with the AssetTreeAsset Tree
ShowShowing the
AssetTreeAsset Tree on displays
At Displays → / Draw, under the Modules components, the is a TAssetTree controls.Just drop that control to your Display, and the AssetTree is now you can find the AssetTree Control. Simply drop this control onto your display, and the Asset Tree will be available in Runtime Displays for the Operatorsoperators.
→ Go to TAssetTree AssetTree Control for information
Map Tags and Assets on CodeBehind and Displays objects
When creating Scripts, or mapping Tags for graphical elements, the AssetTree will be available on the ObjectSelection window.
There are two ways to access the variables on the AssetTree.for more information.
Accessing Variables on the AssetTree
Tag Syntax
If you need to access a Tag in the AssetTree you can get directly the TagName, even that tag name has folders in the name. Access a tag directly using its full name, including folders.
Example: Tag.Area1/linha1/state
Asset Path Syntax
Another way to reach the same value is using the ASSET keywordUse the Asset keyword to dynamically show the selected tag’s path.
Example: Asset("/Area1/linha1/stateState1")
The Asset Path syntax is useful when using Useful for dynamic mapping , or using TagProviders, which values are not in Tags. accessing values from TagProviders.
Example: Asset Asset(client.Context.SelectedAssetFolder AssetPath + "/stateState1")
in In this example, the expression will get the SelecteFolder combine with the string "/state", and that is the element from the AssetTree that will be show. combines the selected folder with “State1” to display the corresponding State1 element from the Asset Tree.
Customizing the Alias for a selected node
After creating a TagProvider Connection, it will create and map a folder on the Assets Tree. To customize the Alias, right-click on the selected node and select the Edit Asset Folder option to open the configuration dialog.
In this section:
Page Tree | ||||
---|---|---|---|---|
|