09-21-2006 09:57 AM
Hi. I'm having some problems with my aplication interface.
The aplication needs to continuosly get the selected current roi tool for an image with a while loop.
The problem is that some times the interface stop responding to the clicks in the roi tool buttons and the only way back to the normal procedure is selecting another window task and then back to the aplication (or minimize and restore the aplication window).
I put a counter indicator in the front panel just to confirm that the aplication is in fact still running despite not responding to the clicks in the front panel.
I've tried putting a wait block in the while loop to minimize the cpu usage of the process but the "crash" still happens.
I've attach a very simple vi just to show the problem.
Thanks in advance
09-21-2006 10:06 AM
Hi Polar,
I don't seem to be seeing that error in my LV 8.0.1. What version of LV/ IMAQ/ Vision/ Vision Development system do you have installed?
Thanx
AdamB
09-21-2006 10:16 AM
09-22-2006 04:33 AM
09-22-2006 06:42 AM
Hi
I can't reproduce your problem with LV 8 and vision 8. I have run it for 10 minutes without any problem. Have you tested on other computers? Have you changed the priority of your VI with respect to other applications?
Kamal
NIF
09-22-2006 01:35 PM
Hi again!
First I'd like to thanks your concern about this problem and I understand that's hard for you to help when this seems to happen only in my computer.![]()
I've tested in Windows XP with a Pentium 4 @ 3GHz (512MB of RAM) and it occurs sometimes, while with a Pentium 1.6GHz it crashes more often.
I didn't change the priority of the applications and with the while loop timer the cpu usage stays lower then 7%.
In fact the application was suppost to run in Pentium 1.6GHz and it usually takes less then 5minutes of clicking on roi tool palette to crash the buttons.