10-01-2008 05:56 PM
Hi
I am trying to get filter requency response using DFD plot frequency response vi. Is there any way i can get the mangnitude and phase response plots frequency in radians per sec?. Now it is giving me frequncy axis in Hz.
Solved! Go to Solution.
10-01-2008 06:13 PM
can you attach the vi
10-02-2008 12:01 PM
Hi
This is my vi.
Thanks
10-02-2008 06:31 PM
I could not load most of the vis or functions you use.
Actually what I asked you to attach is the picture file you first posted that contains two nodes, I was not sure what those nodes were. So just attach the vi that contains your first post, i.e. a LabVIEW file of the picture you posted in your first post.
10-02-2008 10:26 PM
Suni-
The output of DFD Plot Frequency Response is an array of Wave Form Graph clusters. You need to index the array to pop out each graph (there is only one in your example), and then pop the start frequency and frequency step out of the cluster so you can convert to radians and insert them back in. The attached picture shows what I mean...
-GN
10-03-2008 11:08 AM
Hi
Thanks for the reply. I tried the method you said. But plot is not showing correct frequncy response of the filter. numerator[.94, -178, .91] and denominator[1, -1.78, .8633] should give me notch filter with center freqeuncy at 30rad/sec.
10-03-2008 08:45 PM
Well, now you have a digital filter design question, and I can't help you there. I'm going to guess that the problem lies with your transfer functions, and not with the DFD Toolkit.
By the way, I'm assuming you caught my bone-headed math error. Shouldn't try to think too late at night...