AnsweredAssumed Answered

A way to uniquely identify AFValue with the same datetime values

Question asked by ChewCheeLim on Nov 5, 2015
Latest reply on Nov 12, 2015 by pthivierge

Hi, there, I was able to insert 2 identical time series data (with the same timestamp) into PI.

(before compression happened)

Turn around, I queries these values. During this 'bogus' time, for the given time stamps:-

2 rows returned.

 

Then I called this method:-  (thinking that the timestamp has to be unique in this case since there is no unique key for AFValue Object)

 

AFValue retrieve = afAttribute.Data.RecordedValue(afTime, AFRetrievalMode.Exact, null); -- which row to returned? not sure.

 

then I updated a value to 20  --> the Yellow down arrow key = 'Substituted'

 

 

Will PI keeping 2 values in PI Archive? if not, which one to throw away?

Outcomes