LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

filter 1st order

Hello,
 I wish to produce a filter for my application to remove the parasites, In the 1st time I produced a filter 1st ordre(y(n)=wc*x(n)+exp(-wc*Te)*y(n-1). my Problem is as follows: on the outlet side of this filter I a profit obtains >> 1 and one dephasing not =0.
      H(p)=1/(1+jw/wc)=======>??????? y(n)=wc*x(n)+exp(-wc*Te)*y(n-1)????????
I joined to you my VI and .xls file which contains the values to filtered, I have LabVIEW 6.1 BASE version, therefore I dont have Subs-VI of traitemant of signal, it is the reason for wich I must realaze this filter.
thank you.

 
Reg
Download All
0 Kudos
Message 1 of 4
(2,701 Views)

here is my version of a running mean and exp.  filter.

It works point by point (with an array in(out)put for more than one channel)  and ignores NaNs.

Sorry for not having the time to look into your code, but keep going...  it's 'learning by DOING' (read BOING)

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 4
(2,686 Views)
Hello Reg,
 
Why you don't use LabVIEW filters?
You can find them in the functions Palette >> Signal Processing >> Filters
 
Regards,
 
Sanaa T
National Instruments

Sanaa T.
National Instruments France

0 Kudos
Message 3 of 4
(2,672 Views)

Salut Sanaa

Merci de m avoir repondu...

j'utilise LV6.1 version de base, j'ai pas les fonctions de traitemant de signal....

Merci encore une autre fois...

ReG

Reg
0 Kudos
Message 4 of 4
(2,660 Views)