As I'm configuring visualizations, I have a tag that was created two weeks ago so it has only two weeks of historical data. However, I have hourly data for the last six months for this tag in Excel and would like to import this into the data archive using the PIPutVal function in DataLink. The sample code that is distributed with DataLink has been very helpful and I'm trying to make it work for me.
As I'm testing this functionality, I'm finding that it works as expected at first: enter timestamp, tag, and value then press "Send above values" and the macro executes.
In SMT, the Archive Editor shows that the values have uploaded:
But then, if I refresh after waiting a few minutes, all values except the most recent one have vanished.
Why does this happen and what can I do to make these values stick in the archive?