Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use scaled analogwaveform in wpf graph?

Hi,

 

how can i configure the wpf graph to show the custom scaled analogwaveform instead of the raw data?

When using myAnalogWaveForm.GetScaledData i see the data to plot. But the graph is plotting the rawdata.

For the windows.form graph i have found "AnalogWaveformPlotOptions" but i cannot find any equal for the wpf graph.

 

Best regards,

Stephan

 

0 Kudos
Message 1 of 2
(5,432 Views)

Unfortunately, there is no equivalent to the AnalogWaveformPlotOptions class available in the current release of the Measurement Studio WPF controls. I have created a task to address this missing functionality.


The simplest workaround would be to pass the result of GetScaledData to the graph, instead of the source waveform. If you also need to display timing information, you could create a new wavefrom for the graph with FromArray1D and copy the timing information over.

~ Paul H
0 Kudos
Message 2 of 2
(5,419 Views)