Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding large amounts of data to multiple traces

Hi,

I have a CNiGraph object. I want to add a 100 traces (plots) with each 500.000pts, and later update with 50.000pts/sec for each trace. How can I do this? I tried and got a result of 45 seconds for 300pts/trace for 100 traces. I must be missing something. What is the fastest way to add the points to the traces? For the init I would use PlotXvsY (as ALL traces can have different X values and the length of each trace may not be the same). Then ChartXvsY. I don't even get as far as the ChartXvsY, since the first stage takes forever. Probably one reason is that I am getting a screen update for every trace added (can this be disabled?). I also don't want the graph to rescale on every trace update, just move it to the end (scroll). I tried turning of the AutoScale function for the plots and setting their visibility to false, but that still took like 23secs (for 100 traces, 300p/t).

Please help.
Thanks,
Miklos
0 Kudos
Message 1 of 1
(3,042 Views)