LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mouse scroll zooming

How could I programmatically zoom in/out graph using mouse scroll?

 

 

I'm using Labview 2009 SP1

 


Yasemin Barutçu
Electrical And Electronics Engineer
0 Kudos
Message 1 of 3
(3,162 Views)

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.:

 

Untitled.png

 

 

Christian

0 Kudos
Message 2 of 3
(3,142 Views)

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"


Yasemin Barutçu
Electrical And Electronics Engineer
0 Kudos
Message 3 of 3
(3,137 Views)