Skip to Main Content
AVEVA Product Feedback


Status Declined
Created by Guest
Created on Aug 19, 2022

Have AF PI Point attributes that reference another AF attribute use the retrieval methods of that attribute

When an AF PI Point attributes references another AF attribute that has  RelativeTime, TimeMethod, or TimeRangeMethod set, use the settings of the referenced  attribute. For example: Attribute A references PI tag B with a RelativeTime of -1h. Attribute C referencing attribute A will give the value of B at the query time, not offset by -1h.
  • ADMIN RESPONSE
    Aug 19, 2022
    Declined due to backwards compatibility concerns.
  • Attach files
  • Guest
    Reply
    |
    Aug 19, 2022
    As I downvoted this, I believe I owe it to the OP as to my reason: this would produce breaking code in my applications.  I frequently use relative attribute references with the PIPoint DR, and I specifically do so for different TimeRangeMethod, etc.  Oftentimes I have many static string attributes used to compose the name of a long tag name, and a relative reference makes this easier to maintain.
  • Guest
    Reply
    |
    Aug 19, 2022
    As Rick mentioned, this breaks existing applications. The purpose of the attribute reference option in the PI Point Data Reference is to keep from having to re-specify tags in multiple attributes when different methods are needed for the same point. Perhaps the feature you are looking for is something we refer to as Attribute Aliasing (not yet implemented) - which allows you to specify to use a different attribute as the source for the value.