Building and Exporting Models Using the Dofware FMI Adapter for NI VeriStand
To export models for use in NI VeriStand, launch the Dymola application software and load the model that you want to export.
- Select Window»Mode»Simulation to open SimulationWindow.
- Select the green check box in the Simulation Window to check the model for FMI compatibility.
- Select Simulation»Translate»FMU»No Result Generation.
- The simulation compiles and generates an FMU file that you can import into NI VeriStand.
- The FMU file is located in the model project directory. The FMU file is the compiled model and can be used in the same way that a model DLL can be used.
Using the Model DLL
You can now import the Dymola model into your System Definition just as you would any other model. NI VeriStand Help and the NI VeriStand instructional video contain more information about importing models into the System Definition.
Additional Resources
Attached to this document is a step-by-step guide that walks you through taking an example model, compiling it, and importing it in NI VeriStand. For additional information about NI VeriStand, visit ni.com/veristand. For additional information about the National Instruments hardware-in-the-loop platform, visit ni.com/hil.
