Refer to the LabVIEW 2009 Features and Changes topic for information about new features in LabVIEW 2009.
Refer to the readme_ControlandSim.html file, located in the labview\readme directory, for a complete list of new features and changes, information about upgrade and compatibility issues specific to different versions of the Control Design and Simulation Module, and information about known issues with the LabVIEW 2009 Control Design and Simulation Module.
Previous versions of the LabVIEW Control Design and Simulation Module provided an External Model Interface (EMI) as an example in the labview\examples\Control and Simulation\Simulation\External Model Interface\External Model Interface Node directory. The LabVIEW 2009 Control Design and Simulation Module provides a new, more robust version of EMI.
Third parties can use EMI to create an external, or third-party, model in C/C++. LabVIEW users can use EMI to simulate the external model in the Control Design and Simulation Module.
If you are a third-party user of EMI, you first must create a C/C++ project that uses the External Model Interface functions to define the dynamic equations for a model. Export the External Model Interface functions as appropriate for the structure of the model. Then build the C/C++ project into a shared library and distribute the shared library to end users.
If you are a LabVIEW user of EMI, use the External Model function in LabVIEW to reference the shared library you receive from a third-party. Use the External Model function to represent and simulate the model that corresponds to the shared library. When you run the simulation, the Control Design and Simulation Module uses an ordinary differential equation (ODE) solver to compute the behavior of the dynamic system model that the External Model function represents. The Control Design and Simulation Module calls the External Model Interface functions that the corresponding shared library exports.
![]() |
Note Shared libraries created in the previous version of EMI no longer work in the current version. However, the previous version of EMI still is available in the labview\examples\Control and Simulation\Simulation\External Model Interface\External Model Interface Node directory. |
The Simulation Model Converter converts a model (.mdl) file, developed in The MathWorks, Inc. Simulink® simulation environment, into a LabVIEW VI that contains a simulation diagram. The Simulation Model Converter now converts additional Simulink blocks and provides improved support for previously supported blocks. Select Tools»Control Design and Simulation»Simulation Model Converter to launch the Simulation Model Converter.
The Simulation Model Converter now converts the following blocks used in the Simulink software environment.
Using the Simulation Model Converter,you can also now convert the following blocks used in the Simulink application software under limited conditions.
The Simulation Model Converter provides improved support for the following previously supported blocks used in the Simulink software environment.
Use the External Solver Interface (ESI) to create and use external ordinary differential equation (ODE) solvers in the LabVIEW Control Design and Simulation Module.
First use the External Solver Interface functions to create the ODE solver in C/C++. The solver must export all of the Callback API functions. Build the C/C++ project into a (Windows) .dll, (Mac OS) .framework, or (Linux) .so shared library file.
To use the external solver, copy the shared library for the solver into the labview\vi.lib\Simulation\ContinuousLinear\Implementation\Shared\Solvers\Plugins directory. In LabVIEW, double-click the Input Node of the Control & Simulation Loop to display the Configure Simulation Parameters dialog box. Then select the external solver from the ODE Solver pull-down menu. The item in the ODE Solver pull-down menu corresponds to the name you specify for the solver using the Information function.
In previous versions of the LabVIEW Control Design and Simulation Module, you can use the Discrete Kalman Filter function and the Continuous Kalman Filter function to estimate the states of a linear discrete or linear continuous stochastic state-space model, respectively. In the LabVIEW 2009 Control Design and Simulation Module, you can use the Continuous Extended Kalman Filter function and the Discrete Extended Kalman Filter function to estimate the states of a nonlinear continuous or a nonlinear discrete stochastic state-space model, respectively.
The Continuous Extended Kalman Filter function and the Discrete Extended Kalman Filter function estimate model states of a partially observable plant based on noisy measurements. First, use the SIM Discrete Nonlinear Plant Model template VI or the SIM Continuous Nonlinear Plant Model template VI located in the labview\templates\Control and Simulation directory to define the system model. Then use the Discrete Nonlinear Noisy Plant function or the Continuous Nonlinear Noisy Plant function to simulate the discrete or continuous nonlinear model, respectively, with the addition of noise. Finally, use the Continuous Extended Kalman Filter function or the Discrete Extended Kalman Filter function to estimate the states of the model.
The Continuous Extended Kalman Filter function and the Discrete Extended Kalman Filter function linearize the nonlinear system either by calculating a Jacobian matrix internally or by using an external Jacobian matrix that you define. Use the SIM Continuous Jacobians template VI or the SIM Discrete Jacobians template VI, located in the labview\templates\Control and Simulation directory, to define an external Jacobian matrix.
Refer to the LabVIEW Control Design User Manual for more information about estimating the states of nonlinear stochastic state-space models with extended Kalman filters.
The Estimation palette contains functions that estimate the states of a state-space system. The state-space system can be deterministic or stochastic, continuous or discrete, linear or nonlinear, and completely or partially observable.