02-20-2014 02:10 PM
When using the hand tool on an x,y graph, the scale value change event triggers repeatedly, which causes a backup in my state machine queue and a resultant delay in screeen updating.
I would like it to trigger the scale change event only on mouse up. I have a mouse up event as well, which handles other functionality. Is there a way in LV 2012 to handle this situaiton?
Solved! Go to Solution.
02-20-2014 04:02 PM - edited 02-20-2014 04:06 PM
@littlesphaeroid wrote:
I would like it to trigger the scale change event only on mouse up. I have a mouse up event as well, which handles other functionality. Is there a way in LV 2012 to handle this situaiton?
You could avoid queueing up anything until the mouse up event. The scale range change event itself would be fired repeatedly but since no action is taken inside this event case it shouldn't create any backup. Something like this:
Best Regards,
02-20-2014 08:28 PM
Thanks you. This solution works if there are only a few events, but I have many, and I think I would be forced to wire this whift register through them all... or do I?
I have in situaitons like this used a dummy control to hold the status bolean which can then be read with a local variable.
I appreciate the idea, will implement tomorrow!