I am using IC Imaging Control 3.0 / IC LabVIEW Extension 2 within LabVIEW 2010 to perform particle analysis at 30 images/second. My little program ate the memory up really quick (10 Mb/s) and accordingly the program crashed after ~5 minutes. The culprit was the IC_GRAB_IMAQ.vi, which just kept adding images to the memory without deleting them. I found that the IMAQ_Create within the VI didn't have an Image Name. Adding a string name solved my memory problem, since the image was now overwritten in each loop iteration.
I don't know whether any other people ran into this problem, but I thought I would share this info.
PS: Alternatively, one could just dispose the image after usage, as recommended in the IC LabVIEW Extension documentation. However, this did not work for me as I still needed to see the current image in a LabVIEW window.


Reply With Quote
Bookmarks