Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory problems with IMAQ overlay

I'm using IMAQ and Labview to display overlay on image. The memory usage increase each time I update overlay, even if I use the IMAQ Clear Overlay function. However, the overlay disapears over the image, but the memory usage of Labview didnot decrease.
0 Kudos
Message 1 of 10
(4,247 Views)
Hello Philippe,

Thanks for your post, we appreciate the feedback! It appears that you are correct, in an older version of Vision, this was a problem. Since then the issue has been resolved, and the function should no longer display this behavior.

What version of Vision are you using? If you are using a current version, I would like to investigate this further. If it is an old version of Vision, you should be able to resolve the problem with the newer revision of the application.

Let me know if you need any other help!

Robert
0 Kudos
Message 2 of 10
(4,238 Views)
I'm using the current version of Vision (NI-IMAQ 3.1)
0 Kudos
Message 3 of 10
(4,236 Views)
Hi again,

The issue I was referring to was solved before IMAQ 3.1, so I am going to see if I can find more information on this potential problem, or potentially reproduce the issue.

I will let you know as soon as I know more!

Robert
Applications Engineering
National Instruments
0 Kudos
Message 4 of 10
(4,223 Views)
Hi Robert,

My increasing memory problem is not yet resolved. When I renew overlays in my application, the memory still increase and eventually slow the machine. I send a vi that represents a part of my application and do this memory problem.

Thanks,

Philippe
0 Kudos
Message 5 of 10
(4,162 Views)
Hello Philippe,

I know that you have IMAQ version 3.1, but what version of IMAQ Vision do you have?

You can find this information in Measurement and Automation Explorer, under the software tab, similar to NI IMAQ.

Most likely, this will be a version 6.x or 7.x


- Robert
0 Kudos
Message 6 of 10
(4,141 Views)
Hi Robert,

The version of IMAQ Vision is 7.1.1

Philippe
0 Kudos
Message 7 of 10
(4,130 Views)
Hi Philippe,

First, thank you for the feedback. If there is a memory leak here, we definitely want to get that resolved.

Unfortunately, I haven't been able to reproduce the leak in my own test, and the program you posted was very extensive. Are you able to reproduce the problem in a simple program that contains only an image and a small process with the overlay? I am curious to see if this is the case.

Let me know if this happens for you. In the mean time I am going to continue to see if I can reproduce this problem.

Talk to you soon,

Robert
0 Kudos
Message 8 of 10
(4,109 Views)
Oh No!!!

The problem was not the IMAQ overlay!! I have removed all IMAQ vi's and the memory leak remains. I'm very shy, the source is the access to the database connectivity. I will check where can be the memory problem. Maybe is only a programmation error.

Thanks for your help.

Philippe
0 Kudos
Message 9 of 10
(4,102 Views)
Hi Philippe,

I'm glad to hear we have discovered the source of the problem. Good luck with your application!

Robert
0 Kudos
Message 10 of 10
(4,088 Views)