LabVIEW Control Design and Simulation Module

External Model Interface Functions

  • Updated2023-03-14
  • 2 minute(s) read

Requires: Control Design and Simulation Module

Use the External Model Interface (EMI) functions to define the dynamic equations for an external, or third-party, model in a C/C++ project. Then build the C/C++ project into a shared library and distribute the shared library to end users. LabVIEW users can reference the shared library from the External Model function to represent and simulate the model in the LabVIEW Control Design and Simulation Module.

The following list describes the categories of EMI functions.

Category Description
Callbacks Export members of the Callbacks category to request information about an external model from the External Model function.
Continuous States Use members of the Continuous States category to return information about the continuous states of an external model.
Custom Data Use members of the Custom Data category to access custom data associated with an external model.
Data Types Use members of the Data Types category as data types for arguments of External Model Interface (EMI) functions.
Discrete States Use members of the Discrete States category to modify discrete states of an external model.
Inputs Use members of the Inputs category to modify inputs of an external model.
Outputs Use members of the Outputs category to modify outputs of an external model.
Parameters Use members of the Parameters category to modify parameters of an external model.
Simulation Information Use members of the Simulation Information category to return information about the time, steps, and solvers of the current simulation.
User Interface Use members of the User Interface category to configure the user interface of the External Model function.
Zero Crossings Use members of the Zero Crossings category to check signals of an external model for zero crossings.

Log in to get a better experience