Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to use a Scattergraph like a Waveformgrpah?

I have several different signal with different sampling-rates, and i want to plot them continuously, e.g. a sine-signal of 1s and then a rectangle-signal of 2s, and so on.

Until now i have used the waveFormGraph, and it worked fine. But i want that each signal has its own sampling-rate, but displays like it should be. I tried to use the Scattergraph instead, but it should look exactly the way it looks like on the waveFormGraph(continuously). I want the signals to be displayed all at once, no charting(panning).

Is it possible to do with the Scattergraph? (If the xData[] is continuously and not overlapping)
0 Kudos
Message 1 of 2
(3,308 Views)
Hello

Im not sure if I fully understood the question. But if you want to not chart the data, you can use the PlotXYMultiple method instead of PlotXYAppendMultiple(). The XXXAppend methods add data to the graph to display it with the charting effect. The PlotXYMultiple allows you to display multiple arrays of data on the graph all at once and will not scroll the data when you replot. The same distinction between functions also applies for the waveformGraph control (plotY and plotYappend)

Let me know if this is not what you were looking for.

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(3,308 Views)