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