Components of an Application
- Updated2026-05-07
- 3 minute(s) read
Components of an Application
Components of applications built with the LabVIEW Model Interface Toolkit, including targets, LabVIEW applications, and models.
An application built with the LabVIEW Model Interface Toolkit typically consists of the following components:
When the target runs the LabVIEW application, the Model Interface API loads the model and iteratively executes the model. The API transfers data to and from the model and other parts of the system.
Additional Components in Applications that Include Hardware
If you intend to run your test application on an RT target or integrate I/O from hardware, you might need the following components:
Components of a Model
Models can contain the following components through which tuning, data communication, and debugging occurs:
Consider a system that contains a physical motor controller and a model that represents a DC motor. The model runs on a hardware target. Such a model might contain the following components:
- An inport that accepts the motor command from the motor controller.
- An outport that returns the motor speed from the model.
- Parameters that adjust the load on the motor. You might set parameter values once per test rather than updating them frequently during the test.
- A signal that returns internal data that aids in debugging.
Building and Preparing Models for Use in LabVIEW
You can build models using several different modeling environments. You must compile a model in the modeling environment before it can run in your application. The exact process for compiling a model to interact with the LabVIEW Model Interface Toolkit depends on the modeling environment you use to build it.
For more information on preparing the model for use with the Model Interface API, see the Compiling Models section.
If you create the model in a modeling environment not covered in the Compiling Models section, refer to the documentation for that modeling environment.
Integrating Models into the LabVIEW Application
When you build your test application in LabVIEW, you connect parts of the model to sources of I/O in other parts of the application. For example, you might pass data from a hardware channel to a model inport so the model receives and operates on data from the hardware device. You must also configure timing and choose how to interact with parameters and signals in the model.
You can use the Model Interface Toolkit VIs for the following tasks:
- Control the execution of models
- Monitor status and timing
- Configure parameters
- Read signals as the models run
Related Information
- Using Models from MathWorks Simulink
Integrate MathWorks Simulink models with the Model Interface API by compiling them into supported formats for real-time targets.
- Using C/C++ Models
The Model Interface API supports running C/C++ models compiled into .dll, .out, or .so formats with the VeriStand Model Framework.
- Using LabVIEW VIs as Models
Convert LabVIEW VIs into compiled models for use with the LabVIEW Model Interface Toolkit or VeriStand systems.
- Supported Model Types and Modeling Environments
Supported model types, compatibility considerations, and modeling environments for the LabVIEW Model Interface Toolkit.
- Basic Architecture for Executing Models
The Model Interface API allows for integration and execution of models in LabVIEW control systems, supporting reliable timing and synchronization for applications.
- Compiling Models
Compile models compatible with the LabVIEW Model Interface Toolkit.
- Software and Driver Downloads