01-05-2017 05:13 PM
hi - i'm graphing a strip chart value from data coming into the system live (on about a 30msec interval) in packets of 8 bytes. i plot them using "mesDataDisplay_WFG.GraphSignal.PlotYAppend(tempDisplay)" in C#. i want to add a solid line across the chart for a visual indication of a threshold value that the signal should not exceed. so far,i can display the line using the call:
double[] yPoints = { tempYT, tempYT };
this.waveformPlot2.PlotY(yPoints, this.waveformPlot2.XAxis.Range.Minimum, this.waveformPlot2.XAxis.Range.Maximum);
but it vanishes once the chart starts running. so the question is how can i keep the line displayed on the chart with the chart dynamically updating? do i need to add a chart PlotYAppend as a constant? or is there a way to overlay a chart on a graph?
thanks,
01-06-2017 12:31 PM
Hi,
I found this document explaining that you can configure a Waveform Graph to contain multiple plot objects:
I think this will allow both of your plots to show on your graph.
I hope this helps!