04-10-2012 12:58 AM - edited 04-10-2012 01:00 AM
Hello,
Below attached is a pid controller.In that I used a sub VI of a tranferfunction for control.But there showing some errors.Can anyone plz suggest the input and output of that sub VI.Can we make it as a working one.plz help.
04-10-2012 06:01 AM
Include the subvi. how do we run your code?
Be specific. What are the errors it is showing? What does your code do?
04-10-2012 06:08 AM
Hope you can see the sub VI named TrFn in the blockdiagram.The VI works good when we use Transferfunction module(H(S)) in control and simulation toolkit.But Iam trying to use my own TrFn subVI.Is it possible???
Thanx
04-10-2012 11:52 PM
I have searched a bit and I dont think you can.
But why do you need that? you can configure the transfer function subvi itself according to your system needs.
If there are too many feedforward/ feedback loops just create the block diagrams adding/subtrating transfer function wherever necessary.
I found these links helpful
https://decibel.ni.com/content/docs/DOC-20631
http://zone.ni.com/devzone/cda/tut/p/id/6931
this is a bit detailed, just see the pid part
04-11-2012 05:36 AM
I just tried to use my own sub VI as a part of my study.
Thanx.