AnsweredAssumed Answered

Using PI SDK getting the error : PIeventsToSafeArrays():Unable to create SAFEARRAY.<PIEVENTSTOSAFEARRAYS>

Question asked by Poonam on Mar 7, 2018
Latest reply on Mar 7, 2018 by awoodall

When I change the sampling interval to 2 secs, PI SDK is failing to retrieve values from PI server. I am noticing the following error message in logs Error converting server result to PISDK output. :  In PIeventsToSafeArrays():Unable to create SAFEARRAY.<PIEVENTSTOSAFEARRAYS>  subsequently, I am noticing out of memory exception  Error occurred while querying data. Detailed error:  Exception of type 'System.OutOfMemoryException' was thrown.