Define constant values for attribute templates
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
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.
-
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.
-
-
Click in the Default Value field.
The format of the Default Value field changes according to the Value Type.
-
Configure the value for the attribute, as described in the appropriate procedure for the attribute data type.