Table Of Contents

Model Framework and Model Code Interaction

Last Modified: November 16, 2020

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