4 Replies Latest reply on Aug 28, 2014 6:00 PM by limesh

    ACE writing Duplicate events in PI archive

    derekohachey

      Hello,

       

      We have a few event - based ACE calculation contexts and in this calculation we control the timestamp of the output.  Here is a snippet of our code:

       
      myStrTimestamp2 = myPITime.LocalDate
      Result.Value(myStrTimestamp2) = InputValue.Value
      

       

       

      The problem we have is that if I write to the result tag more than once with the exact same timestamp, it will not update the archive, but put another entry into the archive with the exact same timestamp (I have deterministically ruled out the possibility of miniscule differences in milliseconds.

       

      We are running ACE version 2.1.12.   Any idea what why we are getting duplicates?

       

      Thanks,

       

      Derek Hachey

       

      Syncrude Canada. Ltd.