01-15-2008 06:27 AM
01-15-2008 09:29 AM
01-16-2008 11:42 AM
Hi,
You could try using smercurio's suggestion or also try saving a portion of your project under a different name with just the subVIs you'd like to use. For the reference of every forum visitor, this KnowledgeBase article describes how to use the VI Profile Window.
01-16-2008 11:53 AM
01-16-2008 01:53 PM
Hi all,
Thank you very much for all the suggetsions! I'll try them out.
About the profiler - whenever I press start (when the vi is running, when it isn't running, whichever subvi I open the profiler from) it crashed Labview. I have a number of charts in the program, but from what I understood from the post about charts, it isn't supposed to crash the profiler, just cause a memory leak.
Incidentally, I have a memory problem as well, so maybe if I find out what is causing the profiler to crash I'll also get to the root of the memory problem? Could the charts be the cause of all the problems?
Thanks,
Danielle
01-16-2008 03:21 PM - edited 01-16-2008 03:23 PM
01-17-2008 05:56 PM
Hi,
Here is a suggestion for memory management. This may or may not correct your problem, but I thought it was worth a shot!
01-22-2008 04:36 AM
Hi,
Thanks for your help!
I tried all of the suggestions here about the profiler:
1) When opening only the subvi I'm intereseted in, then starting profiler, then running main vi - the profiler crashes labview when I press "snapshot" after my main vi has stopped running.
2) When opening the profiler, opening main vi, running profiler, running main vi - profiler crashes labview when pressing "start".
3) The Memory Monitor: This works, but it is not what I'm looking for. I have a piece of code that is taking more than 30 seconds to run. I am trying to find out what is taking so long. I do not think that the memory of each vi is necessarily an indicator of this, as I think the problem is that a calculation is performed too many times. I took note of the heavy memory vi's though, and I will check them out.
Also, I do not have x controls, so that is not the cause of the crash.
Does anyone have another idea how to find what is taking more than 30 secs?
Thanks,
Danielle
01-22-2008 06:42 AM
01-22-2008 09:09 AM