06-08-2010 03:24 PM
I have an *.exe I built that occasionally freezes up when I click on the title bar on the LV icon while it's running and then opens the drop-down list shown below. Has anyone else experienced this? I am using LV 2009 with XP OS. Once it freezes up I can't close, move it, etc... It generally tends to happen when I've selected to not show the menu or control buttons when the exe is run. I'm sure it has to something with the build settings I'm using that possibly conflict with each other, but can't say for sure.
Solved! Go to Solution.
06-09-2010 06:09 AM
06-09-2010 07:07 AM
06-09-2010 11:59 AM
Here is the vi that I'm having trouble with. I can get it to freeze up any time I right click on the title bar or on the LV icon on the left side of the title bar. At times it seemed that after a while it would timeout in some way and unfreeze itself, but I haven't figured out what I was doing to get it to do it though.
Thanks for the replys!
06-09-2010 12:01 PM
06-09-2010 12:03 PM
06-09-2010 12:11 PM
06-09-2010 10:54 PM - edited 06-09-2010 10:59 PM
My guesses:
1. Greedy while loop. Put a wait statement in your while loop so it doesn't run too fast.
2. You are using IMAQ Init and Close on every iteration of your while loop. Is that necessary? Usually you should open before a loop, close after, and only do the actions that truly need to be repeated withing the loop. Perhaps you are generating a memory leak on resources by repeatedly opening and closing in the loop.
What does Windows performance manager show while this is happening? What is the usage on your CPU?
06-10-2010 02:07 AM
06-10-2010 03:37 AM