LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dfd plot frequency response in rad per sec

Solved!
Go to solution

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.

0 Kudos
Message 1 of 7
(3,673 Views)

can you attach the vi

0 Kudos
Message 2 of 7
(3,670 Views)

Hi

This is my vi.

Thanks

0 Kudos
Message 3 of 7
(3,642 Views)

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.

0 Kudos
Message 4 of 7
(3,623 Views)
Solution
Accepted by suni

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

 

 

Message 5 of 7
(3,614 Views)

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.

0 Kudos
Message 6 of 7
(3,587 Views)

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... 

0 Kudos
Message 7 of 7
(3,567 Views)