Owning Palette: Ordinary Differential Equations VIs
Requires: Full Development System
Solves ordinary differential equations with initial conditions of the following form: X'=F(X,t). You must manually select the polymorphic instance to use.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram |
Find on the palette |

![]() |
data is a variant that you can use to pass arbitrary values to the ODE F(X,t) VI. | ||||||||||||||||||||||||||||||||||||||||||
![]() |
ODE F(X,t) is a strictly typed reference to the VI that implements the right-hand side of an ordinary differential equation dX/dt=F(X,t). Create this VI by starting from the VI template located in labview\vi.lib\gmath\ode.llb\ODE rhs.vit.
Open template
|
||||||||||||||||||||||||||||||||||||||||||
![]() |
x0 is the vector of initial values of the ODE states. | ||||||||||||||||||||||||||||||||||||||||||
![]() |
simulation parameters specifies the set of parameters used to configure the numerical solution of the differential equation.
| ||||||||||||||||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||||||||||||||||
![]() |
times is the array of points in time at which the differential equation solver stepped or was evaluated. If you select a fixed step-size solver, then times contains evenly spaced values. | ||||||||||||||||||||||||||||||||||||||||||
![]() |
outputs is a two-dimensional array of y values. Each row corresponds to the vector of y-values evaluated at a particular time. Each column is history of a particular y-value over time. | ||||||||||||||||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |

![]() |
ODE RHS is a cluster of formula strings and variable strings that implements the right-hand-side of an ordinary differential equation X'=F(X,t).
| ||||||||||||||||||||||||||||||||||||||||||
![]() |
x0 is the vector of initial values of the ODE states. | ||||||||||||||||||||||||||||||||||||||||||
![]() |
simulation parameters specifies the set of parameters used to configure the numerical solution of the differential equation.
| ||||||||||||||||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||||||||||||||||
![]() |
times is the array of points in time at which the differential equation solver stepped or was evaluated. If you select a fixed step-size solver, then times contains evenly spaced values. | ||||||||||||||||||||||||||||||||||||||||||
![]() |
outputs is a two-dimensional array of y values. Each row corresponds to the vector of y-values evaluated at a particular time. Each column is history of a particular y-value over time. | ||||||||||||||||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |