AnsweredAssumed Answered

AFAnalysis error: Values are not in ascending time order

Question asked by AlexCote Champion on Feb 4, 2016
Latest reply on Mar 2, 2016 by pthivierge

Sweet, I found a new error and I can't figure out a way to fix it. Any idea?

 

 

 

Here is the error in About-SDK:

 

Here is the error as logged within the AFAnalysis server.

ANRecalculationAnalysis.ProcessRecalculationRequest[]: Exception encountered during backfilling of Analysis: E3APP - SILO - LIVRAISON - TOTAL C2A, request ID 2e0c2db4-1653-4408-b86c-a56e243dddd4, Start Time 1/1/2016 5:00:00 AM, End Time 2/4/2016 8:04:20 PM

System.ArgumentException: Values are not in ascending time order: current timestamp 1/14/2016 2:27:47 AM, previous time 1/17/2016 12:00:46 PM at value index 5

Parameter name: initialValues

   at OSIsoft.AF.Data.AFDataCache.WriteToCache(AFAttribute attribute, IList`1 initialValues)

   at OSIsoft.AN.Analysis.Calculation.ANDataCacheWithArchiveData.AddInputs()

   at OSIsoft.AN.Analysis.Calculation.ANDataCacheWithArchiveData.UpdateData(AFTimeRange timeRange)

   at OSIsoft.AN.Analysis.Calculation.ANDataCacheWithArchiveData..ctor(AFTimeRange timeRange, IEnumerable`1 inputs, IEnumerable`1 outputsUsedAsInput)

   at OSIsoft.AN.Analysis.Calculation.ANCalculationExecutor.InitializeBase()

   at OSIsoft.AN.Analysis.Calculation.ANRecalculationExecutor.Initialize()

   at OSIsoft.AN.Analysis.Calculation.ANRecalculationExecutor..ctor(ANStateCalculation calculation, ANRecalculationRequest request, IANExecutionProgressTracker executionTracker)

   at OSIsoft.AN.Analysis.Calculation.ANRecalculationAnalysis.BackFillAnalysis(ANRecalculationRequest request, CancellationToken cancelToken)

   at OSIsoft.AN.Analysis.Calculation.ANRecalculationAnalysis.ProcessRecalculationRequest(ANRecalculationRequest request, CancellationToken cancelToken, Object throttleContext)

 

Thanks

Alex

Outcomes