Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Asset Framework and PI System Explorer (PI Server 2024 R2)

Define constant values for attribute templates

  • Last UpdatedJan 11, 2023
  • 1 minute read

You can assign constant values directly on an attribute template. Although you cannot set actual attribute values in attribute templates, you can define default values.

  1. In the viewer, use the Value Type field to select the data type of the attribute.

    There are four groups of value types:

    • Basic Types

      A data type supported by PI AF, as described in List of data types.

    • Array Types

      An array contains any of the Basic types as elements.

    • Enumeration Sets

      An enumeration set is a list of user-defined constant values. You typically use an enumeration set to define a list of predefined values for an attribute template. When you configure attributes based on that template, you can select a value from the list. Use the Enumeration Sets option to select any of the enumeration sets that have already been created in your PI AF database.

    • Objects

      An object can be another PI AF attribute, element, or an operating system file.

  2. Click in the Default Value field.

    The format of the Default Value field changes according to the Value Type.

  3. Configure the value for the attribute, as described in the appropriate procedure for the attribute data type.

TitleResults for “How to create a CRG?”Also Available in