I am trying to write to various memory tags with slightly delayed data (10-30 minutes) that is also sometimes out of order. Consider the following example:
Example Tag Current Value:
last value: 10
last timestamp: 12:00
Now the delayed data comes in at 12:30:
If I write the new datapoint via system.tag.writeblocking, I see the value and timestamp enter the tag's value/timestamp fields correctly. However, when plotted or viewed in the tag history the timestamp is when the tag was written which is incorrect.
If I try to write the new datapoint via system.tag.storetaghistory, I don't see it show up anywhere.
There is also the case where data comes in out of order. For example I may receive the 12:20 data before the 12:10 data. Any tips on how to approach this issue?