LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open vi reference error

Hi all,

 

I am using LabVIEW 2011 SP1. I am running such a vi which is calling another vi by selecting a boolean button. After opening the new vi, the previous vi will stay opened but being minimized and the new vi will stay maximized untill user forces to close the new vi. All the operations are going successful at the start. But if we keep running it for 12-13hrs, then an error is coming in open vi reference of the previous vi and the previous vi becomes maximized and above the new vi. I have attached the error message herewith. Please give me a solution.

0 Kudos
Message 1 of 4
(2,548 Views)

Attach screenshot of an error (what you've attached doesn't really tell anything) and the code if possible.

0 Kudos
Message 2 of 4
(2,536 Views)

Here is the screen shot of the error.

0 Kudos
Message 3 of 4
(2,534 Views)

Error 2 is a memory full error. If you right-click on the error cluster you can select "Explain Error". The most likely reason is that you are not closing your references properly, or you are not closing them at all. It could also be something else, such as continously building an array until you run out of memory. Without seeing some code it's impossible to say what the real cause is. If you cannot post your code then you will need to look at your code to see whether you are auto-disposing the VI references. If you are not, then you are responsible for closing them. If it's not a reference issue, then you should use the performance tools to monitor the memory usage of your VIs to see which one is causing unbounded increased memory usage.

0 Kudos
Message 4 of 4
(2,515 Views)