2 Replies Latest reply on Jan 18, 2011 2:24 PM by andreas

    Get the time that a PIPoint is equal to a value using oledb provider

    mikeloria

      I am using PIOLEDB programically in C# and I am trying to get time that a PIPoint is equal to a value using oledb provider. Say I have a tag cal CDT158 and I wish to know what was the last time that the value was equal to 142. One of the problems is that it may have not been equal exactly to 142. I would want the interpolated time.

       

      I am just using CDT158 as an example, it is very possible that the PIPoint I am looking for may not exactly equal the value I am looking for.

       

      Question #2

       

      Is it possible to use PE function in PIOLEDB? I thought I read that but dod not understand how that works? I was thinking if that was possible, I could use the FindEq function.

       

      Thank you in advance for your response