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.