Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

when autoscaled or when data inputted function

Is there any function that is called when CNiGraph is autoscaled or plotted?
 
i am using MFC dialog-based....
 
I would appreciate for any advice...
0 Kudos
Message 1 of 2
(3,064 Views)
Hi codeKin,

Can you give us some more information on what your end goal is with this? It sounds like you want to execute some code when a new plot is added to your graph.

There is a method for the CNiGraph control called OnCWBindingDataUpdated() that is executed when new data is added (plotted) to your graph. Also, you can check the CNiBindings.DataUpdated property to see if new data has been added.

There are a host of other CNiGraph Events as well, however most of them are a response to user interaction, such as a mouse click.

Let us know if this isnt' what you are looking for, and we can try to find a way to do what you are trying to do.

Thanks codeKin, have a good one.

Dan Weiland
Applications Engineer
National Instruments


Dan Weiland
0 Kudos
Message 2 of 2
(3,056 Views)