From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Model Framework and Model Code Interaction

Last Modified: March 24, 2021

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

Recently Viewed Topics