LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Rational resampling filter changes data size?

Hi,

 

I've noticed in the attached vi that changing the normalised bandwith or alias rejection in the FIR changes the size of the data! 

 

I am using this function to change the size of a dataset from n to 100, so I need to know the size to calculated the M/L ratio. My alternative has been to increment the M or L in a while loop until data size = 100, so it's a bit messy and I'd like to know what the FIR is up to.

 

Thanks

Graham     

0 Kudos
Message 1 of 2
(2,261 Views)

Hi Graham,

 

The VI in question does some interpolation to the signal inputted to the X terminal, and then some filtering of that signal before it leaves the VI through a FIR filter. The fact this changes the array size should be expected.

 

Why do you need this VI over say the Interpolate1D.VI? If building the array from n to 100 is all that is needed to be done?

 

Also can you explain the M/L ratio your referred to? How is this important tot the task in hand?

 

Regards

 

Richard S
Applications Engineer
Certified LabVIEW Associate Developer
National Instruments UK&Ireland
0 Kudos
Message 2 of 2
(2,214 Views)