Open the task manager in windows xp. Run the attached program. Select the Labview.exe item and closely watch the memory it uses. It should be relatvively stable. Now turn on the particle filter. The memory used grows indefinitely. Turn the particle filtering back off and the memory stops increasing. The Imaq Particle Filter 2 has a memory leak.....
I used your VI to reproduce it. But I can not see a memory leak or something like that. I tested it on windows 2k and window xp. You can find some screenshots attached. I have installed LabVIEW 7.1 and Vision Development Module 7.1.
I like your mod showing the iterations and showing the screen shots of Task Manager. I've done the same on my system and it still shows the leak....Is there a vision development module 7.1? I thought 7.0 is the latest?
Did you test it already with an non conneted image destination input at the filter function? Did you test it with a own buffer (imaq create) connected to the image destination input? VDM 7.1 is the latest. You can find the release notes at (http://digital.ni.com/manuals.nsf/websearch/F66807E35922617B86256EE500715E9A?OpenDocument&node=132100_US). There are new functions like classification, 2D-Barcode, OCR etc.
What version of Vision (not your LabVIEW version, but the version of
the Vision toolkit itself) are you using? I believe this issue
has been addressed in the latest version.
Thanks,
Kevin C.
National Instruments
Vision Software
Thanks for the reply. I went back to the previous particle filter,
because the particle filter 2 seem to be slightly too "beta" for my
application. Right now I am using LV 7.1.1. with Vision 7.1.1.