LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does IMAQ Readfile dellocate existing memory before reading?

I'm calling IMAQ Readfile in a loop, reading a different image each iteration. I am assuming that Readfile deallocates all image memory previously read before reading new data. Is this correct?
 
Thank you.
0 Kudos
Message 1 of 2
(2,626 Views)
Ron,
 
It should because the memory is allocated by the create call.  To be sure, put it in a loop and watch Windows Task Manager.  In thre process tab you can make sure that your application  is not growing.  It will bounce around but shouldn't be constantly growing.
 
 
Matt Fitzsimons
NI Alliance Member
LabVIEW Champion
NI Certified LabVIEW Architect
LabVIEW, LV-RT, Vision, DAQ, Motion, and FPGA
0 Kudos
Message 2 of 2
(2,615 Views)