Load Model VI
- Updated2023-02-21
- 3 minute(s) read
Load Model VI
Owning Palette: Model Interface VIs
Requires: Model Interface Toolkit
Loads a model into memory and prepares it for execution. You must call this VI to load a model before you can execute the model in a control loop.
Programming Patterns: Basic Architecture for Executing Models
![]() |
Model Path specifies the path to the model you want to prepare for execution. Models must conform to the NI VeriStand Model Framework header file (NIVERISTAND_API.h). Otherwise, LabVIEW returns error code -383200. | ||||
![]() |
Multirate Options contains the following elements for configuring how subsystems in a multirate model execute. If the model is single-rate, LabVIEW ignores these options.
| ||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Model out is a reference to a specific model in memory. Wire this output to other Model Interface VIs to interact with the model. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Example
Refer to the MIT Simple Load and Run Model VI in the labview\examples\Control and Simulation\Model Interface directory for an example of using the Load Model VI.