AnsweredAssumed Answered

I am facing caching issue In my windows service using AF SDK 4.0

Question asked by Vinayak_Kumkar on Nov 10, 2020
Latest reply on Nov 10, 2020 by sraposo

Hello,

   I have created one windows service using C#. which connect to PI using below code.

PIServers piServers = new PIServers();
piDataServer = piServers[PiDataServer];
piDataServer.Connect();

 

It takes PI input Point data from PI and write data to the PI output points after every 1min continuously.

but some times any exception generated in OSI PI for any point then it returns exception message to the windows service and after correcting this exception in OSI PI the should come in windows service but it gets last generated exception continuously. I need to restart my windows service to get correct result. 

what I need to do?

or can I use piDataServer.Refresh() after piDataServer.Connect();

Please help me.

@##

Outcomes