Shuning Liu Posted December 5, 2018 Report Share Posted December 5, 2018 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 Quote Link to comment
Tim_S Posted December 5, 2018 Report Share Posted December 5, 2018 You could sample at the same sampling rate, or re-sample to the slower rate. Quote Link to comment
ShaunR Posted December 5, 2018 Report Share Posted December 5, 2018 (edited) Take a look at the "Align and Subtract" example in the example finder under resampling. Edited December 5, 2018 by ShaunR Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.