06-28-2023 05:17 AM
I designed iir filter using direct form -II. can someone help me in how to modify the VI so that dynamically a,b coefficients are taken from user and how
to design a vi that takes zeros and poles as input from user and display phase and magnitude response of it.
06-28-2023 05:53 AM
Hi soujiss,
@soujiss wrote:
I designed iir filter using direct form -II. can someone help me in how to modify the VI …
To modify your VI you need to attach your VI!
06-28-2023 06:32 AM
The below is the vi designed by me which is working absolutely fine for second order how can we extend it to 5th order
06-28-2023 06:47 AM
Hi soujiss,
@soujiss wrote:
The below is the vi designed by me which is working absolutely fine for second order how can we extend it to 5th order
When you want help with your VI you should provide more information on what your VI already does and how it works (and how it should work)…
06-28-2023 06:59 AM
06-28-2023 10:23 AM
@soujiss wrote:
The below is the vi designed by me which is working absolutely fine for second order how can we extend it to 5th order
Start with the tutorial and learning resources listed at the top of the forum! (Very, very important!)
As has been said, there are glaring mistakes, race conditions, and just plain crazy code constructs.
All you need is exactly one loop where you generate the data, then filter and display it.
If you have a "working" program for second order, why don't you attach that too so we can see your definition of "working" and maybe glean some ideas. thanks!
(That YouTube video is for FPGA and never shows any code. Is there another one that actually shows a diagram somewhere?)
06-28-2023 10:39 AM
06-28-2023 10:58 AM
Your image seems to be from this publication and really has nothing to do with LabVIEW. You still have not shown us the "working" second order example you made.
06-28-2023 11:22 AM
according to the general equation of iir filter i..e h(z) =b0+b1*z^-1+b2*z^-2/1+a1*z^-1+z^-2 the filter was designed