LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting Problems

Did you look at the Measurement Studio examples?

Luis
0 Kudos
Message 11 of 14
(1,814 Views)
I did it.

I change the function to plot and so I post here the solution.

Now, it works and it plots in real time mode as many chart as I want.

                    GetObjHandleFromActiveXCtrl (panel, control, &ObjHandle);
                    CA_VariantSet1DArray (&dataToPlotY, CAVT_DOUBLE, numberOfTraces, arrValue);
                    CWUIControlsLib__DCWGraphChartXvsY(ObjHandle,NULL,CA_VariantDouble (timestamp),dataToPlotY,CA_VariantBool(0));

I will try to set the chart options now, like the multi scale mode and everything else. I will post here some examples.

Does someone know how to do it?

Thank you in advance.

Message Edited by Oliveira on 09-13-2007 11:40 AM

0 Kudos
Message 12 of 14
(1,783 Views)
You can also look at an open-source real-time plotter called LiveGraph. Its functionality os very similar to what you need. See http://www.live-graph.org.
0 Kudos
Message 13 of 14
(1,764 Views)
Just visit
http://www.oscilloscope-lib.com
Cheers!

0 Kudos
Message 14 of 14
(1,621 Views)