Jump to content
News about the LabVIEW Wiki! Read more... ×
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

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