LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

acquire a signal with two differents rates

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).

0 Kudos
Message 21 of 24
(377 Views)

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.

0 Kudos
Message 22 of 24
(376 Views)

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

0 Kudos
Message 23 of 24
(368 Views)

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

0 Kudos
Message 24 of 24
(355 Views)