获取原始数据函数?
GetRawData function?
我想从模拟波形通道获取原始数据并将其简单地加载到双精度数组中。这是我拥有的:
Dim data() As AnalogWaveform(Of Double)
Dim dataToFilter() As Double
For Each WaveformGraph In WFGS
dataToFilter(i) = data(i).GetRawData() 'Value of Type '1-dimensional array of Double' cannot be converted to 'Double'.
WaveformGraph.PlotWaveformAppend(data(i))
i = i + 1
Next
有人可以帮我解决有问题的代码行吗?我需要从模拟波形中获取原始数据,以便在将其流式传输到波形图之前对其应用滤波器。
谢谢。
Dim data() As AnalogWaveform(Of Double)
Dim dataToFilter As New List(Of Double())
Dim i As Integer = 0
For Each WaveformGraph In WFGS
dataToFilter.Add(data(i).GetRawData())
WaveformGraph.PlotWaveformAppend(data(i))
i += 1
Next
我想从模拟波形通道获取原始数据并将其简单地加载到双精度数组中。这是我拥有的:
Dim data() As AnalogWaveform(Of Double)
Dim dataToFilter() As Double
For Each WaveformGraph In WFGS
dataToFilter(i) = data(i).GetRawData() 'Value of Type '1-dimensional array of Double' cannot be converted to 'Double'.
WaveformGraph.PlotWaveformAppend(data(i))
i = i + 1
Next
有人可以帮我解决有问题的代码行吗?我需要从模拟波形中获取原始数据,以便在将其流式传输到波形图之前对其应用滤波器。
谢谢。
Dim data() As AnalogWaveform(Of Double)
Dim dataToFilter As New List(Of Double())
Dim i As Integer = 0
For Each WaveformGraph In WFGS
dataToFilter.Add(data(i).GetRawData())
WaveformGraph.PlotWaveformAppend(data(i))
i += 1
Next