Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Simulation Translator Does Not Produce Any Files

Primary Software: LabVIEW Modules>>Simulation Module
Primary Software Version: 2.0
Primary Software Fixed Version: 8.2
Secondary Software: N/A

Problem:
Whenever I try to translate my .mdl file into LabVIEW Simulation Module code using the Simulation Translator, it completes very quickly, yet does not create anything.  How can I fix this?

Solution:
This behavior is a known issue with older versions of the LabVIEW Simulation Module.  As of LabVIEW version 8.2, this behavior has been fixed.  The error was caused by the Simulation Translator code that parsed the .mdl file itself, incorrectly translating end of line constants.

If you are not able to upgrade to LabVIEW 8.2 or higher, you can run the attached VI.  It will open up a .mdl file that does not work and save a modified version of it that will work with the Simulation Translator.

Related Links:
LabVIEW 8.2 Help: Simulation Translator Dialog Box (Simulation Module)
Developer Zone Tutorial: LabVIEW Simulation Interface Toolkit
Developer Zone Tutorial: DevZone Building a LabVIEW User Interface for a Simulink® Model with LabVIEW Simulation Interface Toolkit

Attachments:


MDL Modifer.vi


Report Date: 09/25/2007
Last Updated: 04/21/2009
Document ID: 4DOH9AP9

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit