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