LabVIEW Control Design and Simulation Module

External Model Function

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

External Model Function

Owning Palette: Utilities Functions

Requires: Control Design and Simulation Module

Represents an external, or third-party, model that you want to simulate. The External Model function references a shared library that defines the dynamic equations for the model. The LabVIEW Control Design and Simulation Module then uses an ordinary differential equation (ODE) solver to compute the behavior of the dynamic system model that the External Model function represents.

You must place this function inside a simulation diagram.

The configuration dialog box parameters and block diagram inputs and outputs of the External Model function depend on the configuration of the shared library that this function references. Use the Select an External Model Library dialog box to specify the shared library you want to reference.

Before you can use the External Model Interface function, you first must create an external, or third-party, model in C/C++. Use the External Model Interface functions to define the dynamic equations for the model. Refer to the Example 1: Creating an External Model topic for an example of a C/C++ project that defines an external model.

Examples

Refer to the following VIs for examples of using the External Model function:

  • EMI_BouncingBall VI: labview\examples\Control and Simulation\Simulation\External Model Interface\EMI_BouncingBall
  • EMI_Integrator VI: labview\examples\Control and Simulation\Simulation\External Model Interface\EMI_Integrator

Log in to get a better experience