06-24-2021 10:40 PM
我用的是ni-usb-6366,想通过设备的输出口输出波形给dewesoft。例如:200Hz正弦波+100Hz正弦波。我只能看到dewesoft接收到的数据通过FFT变换200Hz的峰值。如何正确模拟复杂波形?
06-25-2021 03:09 PM
It should be possible as long you generate the complex waveform correctly and your sampling rate is high enough to generate that signal.
Could you please post FFT of the waveform fed into DAQ and also FFT of the actual signal generated?
What is the sampling rate you're using?
06-27-2021 08:42 PM
The first sine Wave[frequency=100Hz,amplitude=1V].
The second sine Wave[frequency=200Hz,amplitude=1V].
These two sine wave waveforms are superimposed, and the waveform received at the Dewe end is a waveform with an amplitude of 2V. Perform FFT transformation on the waveform at the Dewe end, and only a peak at 200 Hz can be seen. As shown below:
06-27-2021 09:42 PM
I think there is some bug in the way you create the complex waveform.
Can you plot the complex waveform and share the image/data?
And what is the sampling rate at which DAQ is generating the signal?