From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-17-2014 06:01 AM
Dear Andy Chang ,
Thanks of the information.
I have tried to get .VI for the below mentioned simulink model.
But it is giving the errors (as attached in *.jpeg images).
Pls help me also let me know the trick to be used for errorless VI regarding this matter.
I am using below mentioned versions of LV and Matlab.
LabVIEW 2012
MATLAB 2013a
Thanks !
Shailesh
+919766108221
06-18-2014 11:32 AM - edited 06-18-2014 11:41 AM
Hey Shailesh,
Andy's post is from almost 4 years ago so next time, if you have a new question, I would recommend creating a new thread.
With regards to the errors you're receiving, they are expected behavior based on the function blocks you're using. Per the Control Design & Simulation help documentation, note that the Simulation Model Converter only supports blocks in the The MathWorks, Inc. Simulink® application software Base package. This is discussed further here:
Unsupported Blocks (Control Design and Simulation Module)
http://zone.ni.com/reference/en-XX/help/371894G-01/lvsimconcepts/sim_c_ublocks/
The simulation blocks in your application are from The MathWorks, Inc. SimPowerSystems™ library and are therefore unsupported for the conversion process. Since they're unsupported the converter is creating placeholder simulation subsystems (as expected and as explained in the above help) that you will then need to code with the proper logic (in LabVIEW) to create those subsystems. Should you not want to re-code the subsystems and if you have the LabVIEW Simulation Interface Toolkit (SIT), you may want to build your model into a dll and communicate with it using the SIT API's below:
User Interface VIs
http://zone.ni.com/reference/en-XX/help/371504E-01
Model Interface VIs
http://zone.ni.com/reference/en-XX/help/371504E-01
However, note that the latest version of The MathWorks, Inc. MATLAB® software supported by the LabVIEW Simulation Interface Toolkit 2012 (Since you're in LabVIEW 2012) is MATLAB 2011a. This is discussed further here:
LabVIEW 2012 Simulation Interface Toolkit Readme
http://digital.ni.com/public.nsf/allkb/049295038FF0EE2A86257A06006B2DAD
Hope this helps!
--Ryan_S
MATLAB, Simulink, and SimPowerSystems are Registered Trademarks of The MathWorks, Inc.
06-27-2014 05:32 AM