Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I find the total number points per plot on a CNiGraph?

There dosn't appear to be a method in CNiPlot.
0 Kudos
Message 1 of 4
(3,613 Views)
You can't poll a plot for the number of points plotted on it. If you need to retain that data, retain it from the original data buffer that you sent to the graph.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 4
(3,613 Views)
Question to you Chris,
 
How do you acces this original data buffer that you sent to the graph ?
0 Kudos
Message 3 of 4
(3,488 Views)

Hey wingnut,

When you plotted to the graph you passed an array of data to it.  Or you passed one point at a time to it.  Basically what Chris is saying is that you need to retain this data somewhere and count the number of points plotted. 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 4
(3,462 Views)