3 Replies Latest reply on Mar 26, 2013 10:39 PM by MIPAC

    Unable to convert a Variant containing a time representation to a double.  Custom DR and DataLink

    Jay5962

       

       

      Hi Guys

       

       

       

      I've created a custom DR and use the GetValues override to expose my custom data to PI consumers. It works in Process book and AF System Explorer. However When calling my DR from DataLink i get the following.

      Data item not supported by function

      I then add:

       

      public override Data.AFDataMethods SupportedDataMethods
      {
      get
      {
      Data.AFDataMethods supportedDataMethods =
      Data.AFDataMethods.RecordedValues ;
      return supportedDataMethods;
      }
      }

       

      the error changes to:

       

      Unable to convert a Variant containing a time representation to a double.  

       

       

       

      Please note it does work in process book and systems explorer, any ideas what additional fluff is required for the datalink ( Compressed Data)to attach correctly?