LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

controller from matlab into LABVIEW

Hello Everyone,

I am a first-time user of Labview and would appreciate any help. Currently i am trying to implement the controller (robust controller in particular) that i have designed in MATLAB platform into my real system using Labview. Since my plant and controller are both in state-space form, i am clueless on how to implement it in the labview. Most examples on LABVIEW textbooks havent helped so far. Any comments or suggestions will be much appreciated. Thanks x

0 Kudos
Message 1 of 2
(2,214 Views)

First of all, the best way to use control models (or plants) into LabVIEW is to use the "LabVIEW Control Design and Simulation Module". It is a addon to LabVIEW specially designed for Control Engineers. If you have a Academic version or a Student Edition, this module is available in your package. Here is the link to the product:

 

https://www.ni.com/en/shop/labview/select-edition.html

 

Now, if you have the module installed, then creating a State-Space module is trivial using the Function State-Space from the Simulation >> Continuous. Here you have is the name:

https://www.ni.com/docs/en-US/bundle/labview-control-design-and-simulation-module/page/lvsim/sim_sta...

 

For more tutorials on Control Design and Simulation Module, please look at:

http://www.che.utexas.edu/course/che360/documents/labview_tutorial.pdf

https://www.ni.com/docs/en-US/bundle/labview-control-design-and-simulation-module/page/lvsimconcepts...

 

Also, notice you can use Mathscript Language to create the model. For mor info, see:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001E0TDCA0&l=en-US

 

hope this helps

 

 

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 2 of 2
(2,173 Views)