LabVIEW 2009 Control Design and Simulation Module Help
»View Product Info
If you install LabVIEW for a particular embedded target, you can use the LabVIEW Control Design and Simulation Module to develop and execute simulations on that target. Refer to the documentation for the target you purchased for information about developing and executing VIs on that target.
When developing a simulation for an embedded target, take the following factors into consideration:
- You cannot use the Trim & Linearize VIs or Optimal Design VIs when developing on an embedded target. Therefore, LabVIEW does not display these palettes when you are in an embedded context.
- You can use a Conditional Disable structure to enable real-world I/O when the simulation is on the embedded target and simulated I/O when the same simulation is running on a computer running Windows. Using this method, you do not have to modify the VI manually to use different I/O code when you switch targets.
- Use as few Simulation functions as possible. Combine as many sequential transformations as possible into a single Simulation function. For example, instead of using three State-Space functions to describe a controller model, combine those functions into a single State-Space function.
- Consider the speed/memory trade-off when using simulation subsystems. Using fewer simulation subsystems might increase execution speed but might require you to duplicate code elsewhere on the simulation diagram.
- Consider using fixed step-size ordinary differential equation (ODE) solvers, that is, the solvers not marked (variable). Variable step-size ODE solvers introduce computational overhead when changing step sizes.
||Note The Control Design and Simulation Module does not guarantee accuracy when using the BDF or Rosenbrock ODE solvers on embedded targets. If these solvers appear to produce inaccurate results on an embedded target, choose another ODE solver.