07-29-2011 10:53 AM
You are the one that wants to have a different sample rate. Why? The reason for doing so would make the choice pretty obvious I would think. Do you want to reduce the number of samples (Align and Resample) or make it seem your acquisition time was twice as long (simply changing the dt).
07-29-2011 10:54 AM - edited 07-29-2011 10:55 AM
As Dennis said, Motorbreath's example is not a good example.
Use Align and Resample. It works. Attached is a screen shot showing the before and after of a simulated sine wave and how the Express VI was setup.
07-29-2011 11:14 AM
I wanted to acquire a signal with two differents rates because for example with the low rate , i will acquiere all the signal during a long time and if i need to take a part of this signal with more precision, i will use the high rate. So I think the VI align and resample is mu solution, it works.
Thank you very much for your help
Romaric GIBERT
07-29-2011 04:04 PM
If the acquisition time is important, the suggestion I made is not useful, let me say.
It is an easy way to resample acquired data.
If timing is vital, I would recommend building your code into C. If not, if you can post-process your data easily, it is an option to do as i said.
Ozgur