cascade filter does not seem to reset

I use a waterfall with coefficients of butterworth filter in the attached vi. There is some input values, I can give the filter such that it causes the output must be an array of NaN. That's fine, except that when I give the filter the exact entry which has already led to a good result, it always displays NaN. If I change the input Boolean init/cont to false, run it once, then change it to true, the filter works very well. The data somehow remains in the filter? Or is there something I can do to prevent this? Thank you.

John

Advertisement

Hi John,.

It turns out that I also have to read the better LabVIEW help.  If you look at (http://zone.ni.com/reference/en-XX/help/371361F-01/lvanls/iir_cascade_filter/), this constant works in front what we want.  Essentially, it initializes the VI when the false value and uses the previous when data set to true.  What you can do in your VI to ensure that each run begins with data is to use the first call? function and reverse. When the first call? is called at the start of execution, it returns True.  Fake is out for all other iterations.  If we reverse this, you get False (Initialize in this case) on the first iteration of the filter Cascade and True for all other calls of the VI.

Tags: NI Software

Similar Questions

Maybe you are looking for

  • A30 satellite itself stop

    System:IT WinXP sp2Toshiba Satellite A30, P4 2. 4 GHz: it XP sp2, NTFS Phoenix NoteBIOS 4.0 release 6.0, 478 MB RAM Page file: 330 MB used, 788 MBavailable, DirectX 9 .0c (4.09.0000.0904) Video Intel (r) 82852/82855 GM/GME Graphics Controller - displ

  • SQL server 2005 and 2008

    I had SQL server 2005 and 2008 running on windows XP Professional SP3 PC but uninstalled mistakely version 2005. Now I try to install it back, but I get the error message that my WMI configuration does not allow it.  What should I do to fix this?

  • on mssql 2005

    303please then I try to install mssql 2005, installation of the database server service returns an error to the user instance. What does that mean?

  • How do I change HTTPS to hotmail segura segura

    I used normal hotmail I changed it for sure I want to go back to hotmail secure secure https

  • How are added at the end of the form &lt; form &gt; html? I can't use the <>head in the Properties Page

    How can I add HTML at the end of a form? I can't include it in the < head > Page Properties section and when I add object HTML that breaks down, I even tried adding < form > This does not work too.