Table Of Contents

Supported Model Types and Modeling Environments

Last Modified: June 10, 2021

VeriStand supports compiled models from MathWorks Simulink® software, C/C++, and LabVIEW VIs.

Refer to the following table to determine the model types VeriStand supports.

Model type How to compile Support considerations
MathWorks Simulink

Compile this model using MathWorks Real-Time Workshop®.

This model runs on the following target types in the specified compiled formats:
  • Windows PC—.dll
  • Phar Lap ETS RT targets—.dll
  • NI Linux Real-Time targets—.so

In the Simulink software, 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 application software. Refer to Simulink documentation for information on changing ODE solver and data logging settings.

C/C++

Compile this model using the VeriStand Model Framework.

For example models, navigate to <RootDrive>:\VeriStand\<xxxx>\ModelInterface\custom\examples.
spd-note-note
Note  

<RootDrive> is the drive where NI software installs and <xxxx> is the VeriStand version number.

LabVIEW VI
Compile this model using the following:
If this model is compiled as a .lvmodel, it runs on the following target types:
  • Windows PC
  • Phar Lap ETS RT targets
    spd-note-note
    Note  

    The VI cannot contain code with unsupported Windows function calls.

If this model is compiled as a .lvmodelso, it runs on Linux x64 and Linux ARM.
spd-note-note
Note  

You must install additional software to enable LabVIEW models for targets running a Linux Real-Time OS. Refer to Creating Models in LabVIEW for Use in VeriStand for more information about how to use LabVIEW models with Linux. VeriStand is not supported on x64 Intel-based cDAQ controllers running NI Linux Real-Time.

Refer to VeriStand Version Compatibility for a list of software you can use with each VeriStand distribution.

spd-note-note
Note  

VeriStand does not install features for compiling models. For more information, see Support for Compiling Models.


Recently Viewed Topics