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

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

  • Can I use an external hard drive that is compatible to Windows on a Mac through reformatting?

    I bought a Seagate Expansion 4 TB USB 3.0 hard drive. F8 & PSC = 1 https://www.Amazon.com/GP/product/B017KE8OG0/ref=oh_aui_detailpage_o04_s00?IE=UT But it is only compatible with Windows. Can I reformat the hard drive on my MacBook Pro - or it would

  • the PC is restarted, all firefox extensions are removed! # aargh

    Since upgrading to Windows 10... Every time I restart my PC, I lose all of my firefox extensions, plug-ins are OK just the extensions are lost... I'm going back to IE11 and permanently remove firefox... < < you have not all such extensions > > is a j

  • Satellite Pro C660-1 t 1: not able to play 3D games

    Had a few Steam games and whenever I try to play them they do any thing initialization and then the process just stop. From the journal of event viewer and there is an error message: The failing application name: CriticalMass.exe, version: 1.0.858.0,

  • HP Photosmart printer DS110 series

    All of a sudden, my printer does not print. I had the opportunity to solve the problems, and he says that the printer is not found on the network.  I'm not a person knowledgeable about these things, what should I do?

  • Lightroom 5.6 stop import

    HelloI worked with Lightroom 5.6 and lately I did all my work with this program. After a concert of marriage that I just had I returned home and wanted to work on these photos.As usual, I'm going to the library and proceeded to import my photos, whic