Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

When is a CNiGraph done handling events?

I am using TrackZoomRectXY to zoom in, it works great. What I would like is a way to immediately know when the CNiGraph is done zooming in so I can get the axis minimums and maximums, so I can use them for something else.
0 Kudos
Message 1 of 4
(3,561 Views)
Hello PSevilla,

CNiGraph has an event associated with it called �Zoom� which will fire when the CNiGraph has finished zooming. I believe that you will be able to use this event to get the axis minimum and maximum. I hope that this information is helpful for you.

Regards,
Kevin L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,561 Views)
I can see that event on the CNiGraph3D, but it is not available on the CNiGraph, unless it's been added in version 7.1. Any other suggestions?
0 Kudos
Message 3 of 4
(3,561 Views)
Hello PSevilla,

The Zoom event is available under the 7.1 version of the control, but if you have either Measurement Studio 6.0 or 7.0 you can upgrade to the 7.1 version of the control for free at the following link. It should then be possible to use the Zoom event.

http://digital.ni.com/softlib.nsf/websearch/2AAC97491D073A6C86256EEF005374CE?opendocument&node=132060_US

I hope this information is helpful to you.

Regards,
Kevin Leonard
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,561 Views)