Hi everyone,
I have this issue:
Language: C++ (MFC) on Visual Studio.Net 2003 environment
Problem: Plot many graphs (about 5000) with about 900 points for each graph.
My solution: Use CNiGraph::m_graph and following codes:
for (int i = 1; i <= 5000; i++)
m_graph.Add();
for (int j = 1; j <= 5000; j++)
{
//Prepare vectorY with 900 points
m_Graph.Plots.Item(j).ChartY(vectorY);
}
Result: It does not work (too many plots)
So I intend to use following algorithm (real time):
for i:= 1 to 5000
draw graph i on top of previous graphs (do not redraw all)
So the graph only needs to containa 1 plot object. This is a real time graph. I searched
for 'real time' topic for LabView but there are tons of theory without real code.
Can someone tell me how to do that, (sample code is a lot more better than lengthy words)
(I'm using LabView 8.5 and NI Measurement Studio, version 8.0.11.334, both of them are trial versions)
One more question: how can I undo zoom (using button or any command other than Ctrl-Z) with a CNiGraph?
Regards,