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

AF SDK TimeOut Issue

$
0
0

Hi,

 

I am working on a custom .NET application (Windows Service) that uses the AF SDK (PI AF Developer Tools 2014 R2 v.2.6.1.6238)  to query AF/PI and save data into SQL Server on a polling schedule, however sometimes the queries seem to lockup/timeout - no timeout or other exceptions are thrown - the call just seem to hang.

 

I have tried setting the PISystem.ConnectionInfo.TimeOut value to a low value (e.g. 2 secs) and nothing seems to change in the AF SDK behaviour.

 

I have looked in PI-SMT Network Statistics and the process seems to be working correctly... no errors are showing for the connection. 

 

If an exception (TImeOut or otherwise) were thrown, I could at least handle that - do some recovery and try again. 

 

Has anyone come across this before and found a solution?

 

Kind Regards,

Mark 


Viewing all articles
Browse latest Browse all 1120

Trending Articles