AnsweredAssumed Answered

Data Disappearing with PIPutVal

Question asked by JacobOhlhausen on Nov 15, 2016
Latest reply on Nov 16, 2016 by JacobOhlhausen

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.

Initial Upload.JPG

In SMT, the Archive Editor shows that the values have uploaded:

Initial Archive Values.JPG

But then, if I refresh after waiting a few minutes, all values except the most recent one have vanished.

Archive Values after waiting.JPG

Why does this happen and what can I do to make these values stick in the archive?

 

Thanks,

Jacob

Outcomes