Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Superimpose different sine wave or square wave or saw tooth wave

我用的是ni-usb-6366,想通过设备的输出口输出波形给dewesoft。例如:200Hz正弦波+100Hz正弦波。我只能看到dewesoft接收到的数据通过FFT变换200Hz的峰值。如何正确模拟复杂波形?

Download All
0 Kudos
Message 1 of 4
(984 Views)

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?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(925 Views)

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:

0 Kudos
Message 3 of 4
(903 Views)

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?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 4
(899 Views)