LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulink and Labview

Hi all,
 
could I use the SimMechanics(Simulink) to create a mechanical model and after that create a DLL with the SIT(Simulation Interface Toolkit) to use it in Labview?
 
Thank you.
 
Ziman 
0 Kudos
Message 1 of 3
(3,368 Views)
Ziman,
 
I am not familiar with SimMechanics, BUT if you can convert the mechanical model into a Simulink diagram and use the Real-Time Workshop to generate a DLL, SIT should be able to use this DLL in LabVIEW RT. However, notice that you have to create the DLL before using this product.
 
Hope this helps...
 
Barp
Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 2 of 3
(3,353 Views)

Hello!

Yes, you can have SimMechanics and build a DLL and then use it in LabVIEW using the Simulation Interface Toolkit.

However there are a few things to consider since it seems like it works quite differently compared to ordinary Matlab/Simulink

Quote:
“SimMechanics model differs significantly from other Simulink models in how it represents a machine. An ordinary Simulink model represents the mathematics of a machine's motion, i.e., the algebraic and differential equations that predict the machine's future state from its present state. The mathematical model enables Simulink to simulate the machine. By contrast, a SimMechanics model represents the structure of a machine, the geometric and kinematics’ relationships of its component bodies. SimMechanics converts this structural representation to an internal, equivalent mathematical model. This saves you from having to develop the mathematical model yourself."

I am not sure whether the mathematical models are present for the user for optimizations purposes.

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 3 of 3
(3,347 Views)