Jump to content
Shuning Liu

how to add two sampling signals with different time intervals

Recommended Posts

Hi,

I have a problem about re-sampling signals. I have two sampling signals with different sampling rates. I want to add these two signals together into one output signal. But when I just use "add" buffer, an error occurs and it tells me that two signals with different time intervals can't be added. So I tried to use "Re-sample" block to re-sample Arduino signals. But it seems that this function can't re-sample signals with smaller time interval, which means it can't add extra samples when sampling. 

Can anybody help me solve this problem? Or do you have any ideas that can help me add these two signals? My file is below.

Many thanks!

analog input arduino+sound card (add signal).vi

Share this post


Link to post
Share on other sites

You could sample at the same sampling rate, or re-sample to the slower rate.

Share this post


Link to post
Share on other sites

Take a look at the "Align and Subtract" example in the example finder under resampling.

Edited by ShaunR

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.