wbiker
-
Posts
4 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by wbiker
-
-
Hello again,
I have found a probem!! (but I still i don't know why it occures:( )
In one of the SubVIs there are dynamic events used in order to refresh Front Panel during the measurement. This solution is used because measurement loop is inside another SubVI.
The problem is that after starting the measurement memory consumption (can be observed in Task Manager) is getting higher and higher (should be almost at the same level) so after 1000-th iteration it is about 150MB. This "memory leak" is the reason why entire application gets stuck at the end.
I simplified the VI I mentioned so it is possible to run it without any hardware, I put it as an attachement.
Could you please look at this and give me some advice.
Thanks in advance
wbiker
-
QUOTE
By clicking the stop button on the toolbar you are not stopping the VI but really aborting it.I wasn't clear enough, sorry.
My applicattion has special even case to handle the stop action. The problem appears on execution the stop event case.
QUOTE
Show us your code - we really can't diagnose the problem without it.It is really big application to show the code I would have to present ~200vi's.
Please give me just some ideas what it can be.
Thanks
wgbiker
-
Hello,
I have a problem with quite complex VI. The problem is that when I'm trying to finish (by clicking STOP BUTTON in an event structure) VI gets suspended, CPU ussage goes to 100%. This state can last a few minutes or forever. This behaviour can be seen mainly after long time VI working.
Application was tested under LV 8.2 and 8.21 as .exe and .vi - behaviour is the same.
Thanks in advance for your help.
wbiker
VI gets stuck on finish
in Application Design & Architecture
Posted
QUOTE(tcplomp @ Sep 11 2007, 03:28 PM)
Thanks a lot !!!
Now it works fine.
wbiker