5 Replies Latest reply on Mar 7, 2018 10:52 PM by awoodall

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

    Poonam

      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.