AnsweredAssumed Answered

Point Attribute Not Found

Question asked by rohanar on Jul 6, 2017
Latest reply on Jul 7, 2017 by rohanar

We are receiving these errors when using the PI-SDK.  It occurs frequently, but not consistently.  Any recommendations?

 

  1. Point attribute not found. (red text line below)
  2. Failed to fetch point attributes. At PISDK.PIPoint.get_PointAttributes() At
  3. Application: abc.exe. Description: The process was terminated due to an unhandled exception.Exception Info:System.AccessViolationException At PISDK.PointAttributes.get_Item(System.String)

 

        Dim server As Server = Nothing

        Dim pointAttributes As PointAttributes = Nothing

        Dim pointAttribute As PointAttribute = Nothing

        Dim pointAttributeValue As Object = Nothing

 

            server = piPoint.Server

            pointAttributes = piPoint.PointAttributes

            pointAttribute = pointAttributes("PointID")

Outcomes