LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using image display and event structure, problems with pointer.....

I am using mouse up event to triger reading the property node 'last mouse position', this is with in a case structrue lined to a latch until read boolean button.

This system works well if i click the read button, and then the desired pixel on the image display, but if i happen to click the display on more time, i loose my ability to click any other controls on my front panel. is there a way to keep this from happening?
0 Kudos
Message 1 of 2
(2,472 Views)
Hi Russell,
 
I'm not sure exactly what is happening here, but you might try making sure that "Lock front panel until the event case for this event completes" in the event configuration is unchecked.  It's also a good idea to watch your program execute with highlight execution turned on to see exactly where the VI is hanging on the second mouse click.  I'm guessing that perhaps you need to include some error checking in the mouse up event in case the user hasn't done everything in the proper order.
 
If all else fails, post a simplified VI which replicates the problem and we'll take a look at it to see if there's a good workaround.
 
Good luck and let us know how it goes!
Megan B.
National Instruments
0 Kudos
Message 2 of 2
(2,461 Views)