On Sep 14, 9:40 pm, cckoh <x...@no.email> wrote:
> Dear All expert,
> Can someone help me how to develop a labview program that will calculate the frequency response (both value for magnitud and phase) of a transfer funtion at a certain frequency? Meaning that my input is transfer function and a frequency, and the program will calculate for the value of magnitud and phase of the transfer function.
>
> For example, a transfer function G(s)=1/(s+2) and a frequency,w=100rad/s is given to the program, the program will output the magnitud,M(w)=0.010 and phase(w)=-88.854.
>
>
> In addition, can this program convert to dynamic link library(.DLL) files? so that i can call it from my VB.net program and just key in the input, the output function is magnitud and phase.
>
> really hope someone can help. Thank you.
One approach to calculating the magnitude and phase of a frequency
response is to use the Mathscript capability of Labview. You can do
many of the same calculations with Mathscript as you can with
Matlab.
I don't know how to access Labviews's Mathscript capbility from
VB.net But with Mathscript being able to execute most Matlab
functions maybe you can do everything you want to do in a Mathscript
Window.
Howard
Message Edited by Support on 09-18-2007 09:03 AM