LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connect hardware I/O to simulink model

Solved!
Go to solution

Hello,

 

i developed a controller using simulink. It's already been testet by connecting signal generators via "simulation interface toolkit" between labview and simulink. That worked out very well. The next step would be testing the controleron the real process. Therefore I have to connect the inputs and outputs of the simulink model to measurements and manipulated variables of the real process.

Since there is no real time hardware on wich I could apply the .dll of the Simulink model for testing purpose I have to find a different way.

 

So here's my question: Is there a possibility to connect Simulink IN and OUTs to measurements within LabVIEW? And apart from that I want to send the manipulated variable which is calculated by simulink back to LabVIEW and via Rs232 e.g. to the real process.

 

I would be thankful for every answer or hint on how to fix this problem.

0 Kudos
Message 1 of 3
(3,608 Views)
Solution
Accepted by topic author Fred0815

Hey,

 

Yes, it's possible to connect IOs via customized code in the realtime driver VI.

Please have a look at the following two webcasts (they are in German, I assume you are from Germany) where this will be explained in detail.

 

http://zone.ni.com/wv/app/doc/p/id/wv-619  (Das LabVIEW Simulation Interface Toolkit – Teil I – Grundlagen)

http://zone.ni.com/wv/app/doc/p/id/wv-621  (Das LabVIEW Simulation Interface Toolkit – Teil II – für Fortgeschrittene)

 

 

Christian

0 Kudos
Message 2 of 3
(3,589 Views)
Thank you
0 Kudos
Message 3 of 3
(3,556 Views)