LabVIEW Control Design and Simulation Module

External Models Functions

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

Owning Palette: Simulation VIs and Functions

Requires: Control Design and Simulation Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the External Models functions to access or simulate third-party models. For example, models distributed by National Instruments Alliance Partner members or other NI simulation software environments appear on this palette.

The functions on this palette can return general LabVIEW error codes, specific Simulation error codes, or other error codes specified by the model developer. If you use the functions on this palette in a Control & Simulation Loop, LabVIEW sends any errors that these functions return to the Error output on the Output Node of the Control & Simulation Loop.

Palette ObjectDescription
External ModelRepresents 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.

Log in to get a better experience