LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Moving Average Filter

Solved!
Go to solution

Hi!

How to create this block which i have attached in labview. Moving average filter of order 20.

please anyone help me to build this block

0 Kudos
Message 1 of 18
(5,015 Views)

how to build the moving average filter in labview for  the given specifications which i have attached

0 Kudos
Message 2 of 18
(5,016 Views)

Is the signal a single sample or a bunch of samples?  If you are just dealing with a single sample at a time, just use the Mean PtByPt.vi.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 18
(4,990 Views)

Hi,

 

How to delay the input signal by 10 sample.

 

Thanks,

Surya S

0 Kudos
Message 4 of 18
(4,974 Views)

Hi suryas,

 

How to delay the input signal by 10 sample.

Wait some time before reading them…

 

What kind of answer do you expect for such a question? Provide more information!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 18
(4,929 Views)

The signal is a sawtooth waveform.Can you attach a vi for this

?

0 Kudos
Message 6 of 18
(4,923 Views)
Solution
Accepted by topic author suryas

Hi suryas,

 

The signal is a sawtooth waveform.

Use the PtByPt-Mean for your task:

check.png

 

I also merged your other thread into this one: It belongs to the very same homework task of yours!

(To create the "delayed" signal f you just need to prepend 10 samples to A…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 18
(4,919 Views)

Hi thank you for the help.

And may i know how to do that interval test and interpolate.

Thanks,

Surya S

0 Kudos
Message 8 of 18
(4,905 Views)

Hi suryas,

 

And may i know how to do that interval test and interpolate.

So you want us to solve your homework without any effort on your own? Really?

Hint: Use the InRangeAndCoerce function…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 18
(4,900 Views)

Hi,

Not like that i have tried but i not able to make it. I am just asking how to do it. If you give your ideas i will on m y own.

 Thanks,

Surya S

0 Kudos
Message 10 of 18
(4,896 Views)