I want the vi stops when the user clics several times with the mouse. I use initialize mouse vi instead of event structure for other reasons (I can't use it).
I intented to count the number of clics and when this number of clics occur, the vi stop. But the vi don't work, it stops at the first clic although when i highlight execution it seems to work as I want.
The problem is the execution time, if you push the mouse button your program will execute number of times before you lose the button agian. Even if you push it realy fast. I made some changes to your code there i wait until button is released befor continuing.
Chrisger, it is because I use sequence structure with many times I have to require the user to clic on the front panel before advancing to the next sequence. In this case I can't use many event structures.