Simulation VIs and Functions
- Updated2023-03-14
- 3 minute(s) read
March 2018, 371014K-01
Owning Palette: Control & 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 Simulation VIs and functions to create simulation applications in LabVIEW.
The VIs and functions on this palette can return general LabVIEW error codes or specific Simulation error codes. 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 Object | Description |
---|---|
Control & Simulation Loop | Executes the simulation diagram until the Control & Simulation Loop reaches the simulation final time or until the Halt Simulation function stops the execution programmatically. You must place all Simulation functions within a Control & Simulation Loop or in a simulation subsystem. You also can place simulation subsystems within a Control & Simulation Loop or another simulation subsystem, or you can place simulation subsystems on a block diagram outside a Control & Simulation Loop or run the simulation subsystems as stand-alone VIs. |
Subpalette | Description |
---|---|
Continuous Linear Systems Functions | Use the Continuous Linear Systems functions to represent continuous linear systems of differential equations on the simulation diagram. |
Controllers Functions | Use the functions on this palette to design and implement a controller based on the linear model of the system. |
Discrete Linear Systems Functions | Use the Discrete Linear Systems functions to represent discrete linear systems of difference equations on the simulation diagram. |
Estimation Functions | Use the Estimation functions to 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. Refer to the LabVIEW Control Design User Manual for more information about using the Estimation functions.
The functions on this palette can return general LabVIEW error codes or specific Simulation error codes. 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. |
External Models Functions | 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. |
Graph Utilities Functions | Use the Graph Utilities functions to display the outputs of the simulation on a chart or graph. |
Implicit Systems Functions | Use the functions on this palette to solve differential algebraic equations (DAEs) in a simulation diagram. |
Lookup Tables Functions | Use the Lookup Tables functions to locate a value from an existing data set. You specify this data set in the LUT Data parameter of each Lookup Tables function. |
Model Hierarchy Functions | Use the Model Hierarchy functions to configure model parameters and collect signals in a simulation. |
Nonlinear Systems Functions | Use the Nonlinear Systems functions to simulate nonlinear effects that are present in real-world systems. |
Optimal Design VIs | Use the Optimal Design VIs to determine the optimal parameters for a system model given a cost function and set of constraints. |
Signal Arithmetic Functions | Use the Signal Arithmetic functions to perform basic arithmetic operations on signals in a simulation system. |
Signal Generation Functions | Use the Signal Generation functions to generate specific waveform patterns and to index signals into an array. |
Trim & Linearize VIs | Use the Trim & Linearize VIs to trim and linearize a simulation subsystem. |
Utilities Functions | Use the Utilities functions to perform various tasks such as creating a history of signal values and the times at which they were recorded, indexing a signal by simulation time, reporting simulation time, reporting simulation errors, stopping the simulation programmatically, and returning the simulation parameters. |
© 2004–2018 National Instruments. All rights reserved.