Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

Write failed. Unbuffered write would desynchronize archive data.

$
0
0

Hello,

 

I am facing some issue while deleting data from PI tag-

 

I tried using OLEDB queries but it did not work. I also tried below way by using PISDK in .Net to delete the value, but did not work.

 

var pisdk = new PISDK.PISDK();

Server objServer = pisdk.Servers["sud-pi-test"];

objServer.DefaultUser = "piadmin";

objServer.Timeout = 30;

PIPoint objpipoint;

PIPoints objpipoints;

objpipoints = objServer.PIPoints;

objpipoint = objpipoints["75-04-YI-TBRC2_Phase-MI"];

 

//PIValue piValue;

objpipoint.Data.RemoveValues(_fetchDataRules.StartDateTime, _fetchDataRules.StartDateTime, DataRemovalConstants.drRemoveAll);

 

 

Exception: Write failed.  Unbuffered write would desynchronize archive data.

 

The PI Buffer Subsystem is enabled and running in my machine and we have to go by this approach without stopping this service.

 

Please let me know if any details needed.

 

Thanks,

Souvik


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>