11-05-2013 10:00 AM
Hi, I have acquired an analog and a digital signal at 1S/s for 10 s . So I have 10 analog samples and 10 digital samples. Now I would like to upconvert the number of samples of the acquired signal to let's say 10kS/s . How can I
do it in labVIEW for the analog and digital signals?
I don't want to change the duration but let's say I have a zero , I would like to make it 10000 zeros.
Thanks
11-05-2013 10:09 AM - last edited on 10-11-2024 10:09 AM by Content Cleaner
Hi tintin,
there's a function named "ResampleWaveform"...
Btw. what's the point in upsampling by a factor of 1000?
11-05-2013 10:15 AM - last edited on 10-11-2024 10:10 AM by Content Cleaner
@tintin_99 wrote:
Hi, I have acquired an analog and a digital signal at 1S/s for 10 s . So I have 10 analog samples and 10 digital samples. Now I would like to upconvert the number of samples of the acquired signal to let's say 10kS/s . How can I
do it in labVIEW for the analog and digital signals?
I don't want to change the duration but let's say I have a zero , I would like to make it 10000 zeros.
The LabVIEW math palette has a rich set of interpolation tools that you can apply to the Y data (then you also need to change the timing information).
Alternatively, there is the Align and Resample Express VI that could do about the same thing.
11-05-2013 10:22 AM
Well, I am not actually acquiring the signal. I build the signal at 1S/s but finally I need to change the sampling rate to somthing else. I think the easy way might be to take the Y array and of r each element add ( lets say 100 elements if the sampling rate is 100) but how can I do it in LabVIEW?
how can I do this in LabVIEW
Lets say the sampling rate is 5
123
111112222233333
Thanks
11-05-2013 10:40 AM - edited 11-05-2013 10:40 AM
A simple Initialize Array inside of a FOR loop with concatinating tunnels works well. The concatinating tunnels became available with LabVIEW 2012.