Hi,
I manage to read and write BaseDAT and Event of ArchiveDAT with the following description
https://github.com/RapidScada/scada/blob/master/ScadaData/ScadaData/Data/Tables/BaseAdapter.cs
https://github.com/RapidScada/scada/blob/master/ScadaData/ScadaData/Data/Tables/EventAdapter.cs
But I can’t find the similar description for ArchiveDAT. Is there any description for the hour/minute data of ArchiveDAT?
I manage to read the hour/min data of ArchiveDAT accurately with a few try and error. But there are bytes I skipped and don’t fully understand. such as bytes separating timestamp. or separating bytes when total channel number changes.
Sometimes I need to change the values in the archive data in volume, e.g. wrong formula during setup, after a month, I found the problem, calculate the value manually and want to overwrite the ArchiveDAT, so that end user can see the correct value when looking up history data.
But because of some unknow bytes, I am not confident to overwrite the ArchiveDAT.
-
This topic was modified 2 years, 6 months ago by
Mikhail.