LabVIEW Control Design and Simulation Module

External Solver Interface Functions

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

Requires: Control Design and Simulation Module

Use the External Solver Interface (ESI) functions to create an external solver in a C/C++ project. Build the C/C++ project into a shared library and copy the shared library for the solver into the labview\vi.lib\Simulation\ContinuousLinear\Implementation\Shared\Solvers\Plugins directory. You then can select the external solver from the Configure Simulation Parameters dialog box to use the solver in the LabVIEW Control Design and Simulation Module.

The following list describes the categories of ESI functions.

Category Description
Callback API Use members of the Callback API category to transfer information about the solver between the LabVIEW Control Design and Simulation Module and the external solver. The Control Design and Simulation Module calls these functions to configure and run simulations that use external ODE solvers. The solver must export all of these functions.
Data Types Use members of the Data Types category as data types for arguments of External Solver Interface (ESI) functions.
Solver API Use members of the Solver API category to get and set information about the solver. Use these functions to obtain or supply solver information and to obtain references to states, derivatives, and other simulation information.

Log in to get a better experience