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.
Description
The Functional Mockup Interface ("FMI") is a vendor-independent dynamic system model format, described more fully here. Instances of models in this format are called Functional Mockup Units ("FMU's.")
This tool adds partial support for FMI to LabVIEW. In particular, it supports the import of Model Exchange FMU's of version 1.0 or 2.0. This tool does not currently support the import of models generated in the "Co-simulation" form, nor does it support the export of FMU's from LabVIEW.
Requirements
Instructions
History
9-2-2015: New version (1.0.39) posted. This version contains bug fixes related to event handling.
9-18-2015: New version (1.0.40) posted. The file is "NI Labs--FMI For Model Exchange v2.zip". This version turns off verbose logging and fixes an incorrect setting in the configuration file (EMI_FMI Configuration.txt)
Hi,
Thanks for this wonderful support for FMI, I'm able to run the FMU model in LabVIEW as being instructed. I have created a simple model of a DC motor in Openmodellica, I exported the modelica model into FMU. When I try to import it in LabVIEW I notice these things:
1. It showed me that I have one input port and an output. (Attachment shows that I have Input as well as put in my model)
2. The input and output terminals doesn't show up in the VI. (problem that has to be solved)
3. The name of the FMI model doesn't changes automatically to the file name of .fmu
without the terminals I can not use the FMI block.
Looking forward for the support Thanks in advance for your time!
Hello,
i have absolutly the same problem. Termanals is not possible to see, display or anyway make them visible.
Thanks for every idea
Lukas
Hi,
Did @xmalik16 and @Harshapolimi resolve this issue? I'm hoping to get back into Modelica soon.
Cheers,
Ted
Hi Ted,
I didn't resolve the problem. This tool is not applicable in my point of view although tool seems anyway easy to use. Instead of this way I moved to linux OS and OpenModelica under the linux. I'm able to run executable program and debug them inside the cRIO. This way seems hopeful.
Regards
Lukas
I had the same issue with this not working properly. I think there are some things to consider. (on Windows)
A. If you have LabVIEW 32bit use 32 bit Openmodellica.
B. This only works with Model Exchange setting (combo mode doesn't seem to work).
C. I think there is a permissions issue with Openmodellica (it seems to occasionally require different permissions) So i just copy the output folder, to a more usable location.
Settings i used are:
Hope it helps.