Model Framework and Model Code Interaction
- Updated2025-10-27
- 1 minute(s) read
Model Framework and Model Code Interaction
When you run your VeriStand or Model Interface Toolkit test application, the application executes functions that the VeriStand Model Framework files define.
These functions call functions in your model code, which convert user-defined data types, initialize your model, and increment a time step in VeriStand.
The following illustration shows how NI software, the Model Framework API, and code in your model interact.

Your test application calls a function that the Model Framework exports. The exported
function calls a function in your model code. As the model executes, the test
application can interact with the model in the following ways:
- Writing data to model inports
- Reading data from model outports
- Allowing you to adjust model parameter values
- Allowing you to probe model signals