LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mouse Move Event Queing too many events

Solved!
Go to solution

I have a VI that I want to be able to move the scrollbar and then update the corresponding graph cursor position as I do it on separate controls.  I experience a problem after moving the scrollbar about an inch where it appears to be firing and queing too many mouse move events and it bogs down the program.  Any ideas on how to prevent this by averaging mouse move event samples or something?

0 Kudos
Message 1 of 4
(2,689 Views)
Solution
Accepted by topic author id

Without looking at your code (do not have LV12 on this machine) I will take a wild guess that you have locked the front panel on the mouse move event.  Try unchecking it and see if that helps.  Phase II would be faking a lossy event queue, but I usually do not have to do that unless I am doing something really slow in response to an event.

Message 2 of 4
(2,682 Views)

Thank You.  You hit the nail on the head.  Smiley Very Happy

0 Kudos
Message 3 of 4
(2,679 Views)

Then mark Darin's message as the solution to your problem rather than your own thank you message.  First, you will have to go to the options menu to the upper right of your message and unmark it as the solution.

0 Kudos
Message 4 of 4
(2,670 Views)