You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction to Data Templates

Data Templates can be used in projects to create tags with the defined attributes and organize them into hierarchical structures that represent assets or information models. By using Data Templates, users can easily access tag attributes and manage their data more efficiently. To use a Data Template in a project, simply create a new tag and select the appropriate template type. The tag will then inherit the defined attributes from the template, allowing users to access and manipulate these attributes as needed throughout the project.

On this page:





Using Data Templates in FactoryStudio

Data Templates in FactoryStudio help users create tags with defined attributes and organize them into hierarchical structures representing assets or information models. By using Data Templates, data management becomes more efficient, and users can easily access tag attributes.

This document is organized into the following sections and subsections:

  1. Introduction to Data Templates

  2. Creating Templates

  3. Assets Templates 3.1 Building Custom Data Types

  4. Creating and Editing Data Templates

  5. Using Data Templates in Projects

  6. Introduction to Data Templates

Data Templates allow users to create reusable data structures and organize tags into hierarchical, logical representations of equipment or information models. These templates help streamline data management and improve system efficiency by reducing redundancy and simplifying the process of accessing tag attributes.

  1. Creating Templates

Templates enable users to create new tag types based on a data structure using existing built-in types and previously defined Templates. To create a tag template, follow the steps mentioned in the "Creating Templates" section.

  1. Assets Templates

Asset Templates help users create reusable data structures and organize tags into hierarchical representations of equipment or information models, enhancing data management and system efficiency.

3.1 Building Custom Data Types

Custom data types, also known as User-Defined Types (UDTs), can be created to represent complex data structures in the Unified Namespace. UDTs can include multiple tag attributes, allowing users to model various properties of an asset, such as its current state, operational parameters, and historical data. Building custom data types ensures a more accurate and comprehensive representation of assets and their associated tag attributes.

  1. Creating and Editing Data Templates

Users can create, edit, or import Data Templates for use in their projects. When creating a template, it's essential to define the relevant tag attributes, such as data types, initial values, and any required metadata. Once a template is created, it can be edited to update tag attributes or modify the template structure as needed.

  1. Using Data Templates in Projects

Data Templates can be used in projects to create tags with the defined attributes and organize them into hierarchical structures representing assets or information models. To use a Data Template in a project, follow the steps mentioned in the "Using Data Templates in Projects" section. The tag will inherit the defined attributes from the template, allowing users to access and manipulate these attributes as needed throughout the project.









Child Pages for the section:


Assets Templates:
Building Custom Data Types

Creating and editing Data Templates

Using Data Templates in Projects

=================================

  1. Assets Templates: Asset Templates allow users to create reusable data structures and organize tags into hierarchical, logical representations of equipment or information models. These templates help streamline data management and improve system efficiency by reducing redundancy and simplifying the process of accessing tag attributes.

  2. Building Custom Data Types: Custom data types, also known as User-Defined Types (UDTs), can be created to represent complex data structures in the Unified Namespace. UDTs can include multiple tag attributes, allowing users to model various properties of an asset, such as its current state, operational parameters, and historical data. Building custom data types helps ensure a more accurate and comprehensive representation of assets and their associated tag attributes.

  3. Creating and Editing Data Templates: To create a new Data Template, navigate to the Project Designer tools and select the "Tags - Unified Namespace" section. From there, users can create, edit, or import Data Templates for use in their projects. When creating a template, it's essential to define the relevant tag attributes, such as data types, initial values, and any required metadata. Once a template is created, it can be edited to update tag attributes or modify the template structure as needed.

  4. Using Data Templates in Projects: Data Templates can be used in projects to create tags with the defined attributes and organize them into hierarchical structures that represent assets or information models. By using Data Templates, users can easily access tag attributes and manage their data more efficiently. To use a Data Template in a project, simply create a new tag and select the appropriate template type. The tag will then inherit the defined attributes from the template, allowing users to access and manipulate these attributes as needed throughout the project.

    Assets Templates:
    Building Custom Data Types

    Asset templates in [Software Name] enable users to build custom data types based on a specific data structure. These custom data types use existing built-in types or previously defined templates as the foundation, allowing users to create more complex and tailored data structures suited to their project's needs.

    Creating and Editing Data Templates
    Users can create, edit, or import Data Templates for use in their projects. When creating a template, it's essential to define the relevant tag attributes, such as data types, initial values, and any required metadata. Once a template is created, it can be edited to update tag attributes or modify the template structure as needed.

    Using Data Templates in Projects
    Once a custom data type is created, it can be used in projects for organizing and managing tags. To use data templates in projects, follow these steps:
    Step 1: On the Objects tab within the software, navigate to the "Type" column for the desired tag.

    Step 2: From the drop-down list, select the newly created custom data type. The software will automatically apply the data structure and attributes of the custom data type to the tag.

    Step 3: Continue using the custom data type for relevant tags throughout the project, ensuring consistency and efficient organization


Creating Templates

Templates allow you to create new tag types based on a data structure using existing built-in types and previously defined Templates.

To create a tag template:

  • Go to Tags → Templates.
  • Click New.
  • The "Create New Tag Template" dialog will open.
  • In the "New Type Name" field, enter a name for the tag type. In the Description, enter a description of the tag. Click OK. The Templates tab displays with the name of the new template at the top of the tab.
  • Click the insertion row to create a new attribute for this tag template.
  • Enter or select information, as needed. The properties are the same ones for Tags. See Creating and Editing Tags above.

  • To delete a template, select it from the User Custom Type drop-down list, then click Del.
  • On the Objects tab, you can now use this new template in the Type column.





In this section...

  • No labels