Hi All,
I create a DLL to retrieve data, it run continuously to get data from queue if data exists. I create an input array parameter, and an output array to get data return.
long getDataFromQueue(byte* input, long array_length,byte* output)
{
// my code here
}
I test thi function in VC++ and it run successfully, but when I move it to LabView, it just can run it for a while and it raise an memory error message (memory could not be read), sometimes it appears error : "Not enough memory to do this fuction".
I attach my LabView block diafram demo my desing, please elp me to investigate what wrong in my diagram, could you please give me some ideas to prevent this error.
Thanks a lot.