Hi,
can anybody tell me, how it is possible to add new points to one trace in a stripchart if I want to plot several traces in one stripchart?
If there is only one trace I can add a single point as follows:
PlotStripChartPoint (panelHandle, PANEL_STRIPCHART_CURRENT, current_value);
But how can I specify that this point is part of the second or third trace? With SetTraceAttribute I can set the attributes of several traces, but that doesn't make any sense if a stripchart can only display one trace...
Another possibility would be to use a graph instead of a stripchart, but than I have to reorganize the array which contains the Y-values every time I want to plot the graph, so that the oldest value is displayed on the left and the newest value is diplayed on the right side of the graph...
But the sorting of the array causes wasted computing time, so is there any possibility to add the newest value to an existing trace in a stripchart?