AnsweredAssumed Answered

Not getting archived values using Recordedvalues

Question asked by Lipi on Oct 21, 2020
Latest reply on Oct 22, 2020 by ChristophRose


I am trying to fetch archived values and I am using below code:


PIPoint.TryFindPIPoint(objpiserver, "Test", out objpipoint);
AFValues listResults = objpipoint.RecordedValues(timeRange, AFBoundaryType.Inside, null, false, 1000000);


Its returning values with timestamp.


But when i am checking archived values of the tag in SMT giving the same timestamp which i got from the recordedvalues function, its showing no records are present


Can anyone tell me how is this possible or what exact method to be used to get archived values.