12-06-2011 04:12 PM
Is there any chance you can write a VI that demonstrates the problem, and does nothing except communicate with the camera? Or, can you attach your entire project, if it's not ridiculously large?
The C++ samples may not seem helpful to you if you don't have much C++ experience (I don't know if this is the case for you), but they could be helpful to an experienced C++ programmer. Can you attach or post it? Also, there's no documentation for the library functions?
When you say you used IMAQ Array to Image - does that mean you were able to get the DLL call to run without crashing? If so, under what conditions? Without seeing your code, I can't understand exactly what you're asking about whether maintaining a buffer of 1 image will stop it from crashing.
12-07-2011 04:05 PM
Solution:
Some of the inputs created with the Import Shared Library tool were incorrectly assigned. Properly reassigning those inputs and creating a buffer with the appropriate dimensions solved the memory leak. The image was successfully grabbed from the camera into a 1D array and then transformed into a 2D array of image data.
Many thanks to NathanD for his help.
-griplegraple