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

AVEVA™ Historian

Add new tag extended property values

  • Last UpdatedMar 04, 2025
  • 2 minute read

Line entries for tag extended property values use a different format, where each line contains all the extended property values for a specific tag.

The following example illustrates adding new tag extended properties, and setting extended property values for a single tag.

Adding new tag extended property values

Two new extended properties, NewStringProperty and NewIntProperty, are defined by adding lines to the TagExtendedPropertyName section.

The TagExtendedPropertyValue header line begins with the TagName, followed by the system-defined extended properties Alias, Dimension, HierarchicalName, Location, and Namespace. The remainder of the line contains the property names defined in the TagExtendedPropertyName section, in this case NewStringProperty and NewIntProperty.

The remainder of the TagExtendedPropertyValue section consists of one line per tag, with each line containing all the extended property values for the specified tag, tab-delimited. In this example, the tag MyStringTag is assigned extended property values for Alias, Location, NewStringProperty, and NewIntProperty. The remaining properties are left blank.

Limitations

The maximum number of extended properties that can be defined is 10, including the 5 system-defined properties, Alias, Dimension, HierarchicalName, Location, and Namespace. This means that you can define up to 5 custom extended properties.

When you are using an SDK application, if more than 10 extended properties are defined, tag extended properties are not stored, and database warning messages are logged similar to the following example:

Main Metadata Server COM Exception caught, error = 38 (Database error)

When this occurs, the SDK application will continue retrying (and failing) until the application is closed.

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