Hi, Delphi 5.
I'm working with National Instruments ActiveX controls and specifically their CWGraph.ChartY function. I'd like to chart two traces but I can't figure out how to make up a two dimensional array to pass to the function. Here's what I have to plot one trace: ClippedArray : array of Variant; // Definition. ... ClippedArray := VarArrayCreate([0,SAMPLE_SIZE],varVariant); // Creation. ... ClippedArray[k] := data; // data added to array. ... FilteredDataGraph.chartY( ClippedArray ); // Data displayed on chart. Since National Instruments doesn't really support Delphi I can't find anything that points me in the right direction. Any suggestions? Thanks John Automation Artisans Inc. http://www.autoartisans.com/ELS/ Ph. 1 250 544 4950 _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi