Supported Model Types and Modeling Environments

Supported model types, compatibility considerations, and modeling environments for the LabVIEW Model Interface Toolkit.

The following table describes LabVIEW Model Interface Toolkit support for common model types:

Table 1. Supported Model Types
Model Type Support Support Considerations
MathWorks Simulink model compiled using Simulink Coder and VeriStand Model Generation Support Supported Runs on the following target types in the specified compiled formats:
  • Windows PC — .vsmodel
  • NI Linux Real-Time targets — .vsmodel
Legacy MathWorks Simulink model compiled using Model Framework Supported

Runs on the following target types in the specified compiled formats:

  • Windows PC — .dll
  • NI Linux Real-Time targets — .so
Uncompiled model from MathWorks Simulink software Not supported You must compile these models before you can use them with the Model Interface API.
C/C++ Supported For information on how to create and compile C/C++ models that are compatible with the VeriStand Model Framework, see VeriStand Model Framework Introduction section. You can find the section in the NI_VStand_Model_Framework_Guide.pdf file, in the C:\VeriStand\xxxx\ModelInterface\custom folder, where xxxx is the VeriStand version number.
FMU3

For more information on FMI support and limitations, see FMI Support in the VeriStand User Manual.

Supported

You can load models conforming to FMI standard in LabVIEW Model Interface Toolkit.

Runs on the following target types in the specified compiled formats:

  • Windows PC — .fmu
  • NI Linux Real-Time targets — .fmu

LabView VI compiled as a .lvmodel

For more information on the versions of the LabVIEW, Windows, model compiler, and MathWorks software you can use with the LabVIEW Model Interface Toolkit, see the VeriStand Model Generation Support and MathWorks Simulink Compatibility knowledge base article at ni.com.

Supported Runs on Windows PCs.

LabVIEW VI compiled as a .lvmodelso

For more information on the versions of the LabVIEQ, Windows, model compiler, and MathWorks you can use with the LabVIEW Model Interface Toolkit, see the VeriStand Model Generation Support and MathWorks Simulink Compatibility knowledge base article at ni.com.

Supported Runs on Linux x64.
Note

You must install additional software to enable LabView models for targets running a Linux Real-Time OS.

x64 Intel-based cDAQ controllers running NI Linux Real-Time do not support the LabVIEW Model Interface Toolkit.

Compiled models from other environments Supported Several modeling environments can build compiled models that work with the VeriStand Model Framework.
Models compiled for use with the LabVIEW Simulation Interface Toolkit Not supported You must recompile these models before you can use them with the Model Interface API.

Simulink Model Compatibility

In Simulink, you can convert models that use only a fixed step-size Ordinary Differential Equation (ODE) solver into compiled models. Additionally, you must turn off data logging in the Simulink.

Note For information on using the Simulink to change the ODE solver of a model and turn off data logging, see the Simulink documentation.

Troubleshooting Missing Options in Modeling Environments

If features for compiling models, such as the NIVeriStand.tlc—NI Real-Time Target system target file in Simulink, are missing, ensure all required NI components are installed. The LabVIEW Model Interface Toolkit does not install features for compiling models. However, the components that install this support are available from VeriStand.