04-03-2012 01:25 AM - edited 04-03-2012 01:30 AM
How could I programmatically zoom in/out graph using mouse scroll?
I'm using Labview 2009 SP1
04-03-2012 07:39 AM
Use the VIs from the Input Device Control palette. The Acquire Input Data.vi returns the Scrolling Information of the Mouse wheel. You can then use this to set the XScale.Range.Maximum and Minimum property of the Graph via Property nodes. E.g.:
Christian
04-03-2012 09:32 AM
Thank you this works fine and I got help from here too.
http://forums.ni.com/t5/LabVIEW/Mouse-wheel-scroll-event-ON-CHANGE/td-p/860112/page/2
"Scroll Event V2.zip"