LabVIEW Control Design and Simulation Module

Simulation Information (EMI Category)

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

Requires: Control Design and Simulation Module

Use members of the Simulation Information category to return information about the time, steps, and solvers of the current simulation. This information might depend on the configuration of the Control & Simulation Loop in which the External Model function that represents the external model is located.

Function Description
EMI_GetFinalTime Returns the time, in seconds, at which to stop the ordinary differential equation (ODE) solver for the current simulation.
EMI_GetInitialTime Returns the time, in seconds, at which to start the ordinary differential equation (ODE) solver for the current simulation.
EMI_GetMaximumStepSize Returns the maximum step size, in seconds, that the ordinary differential equation (ODE) solver can use to evaluate the current simulation.
EMI_GetMinimumStepSize Returns the minimum step size, in seconds, that the ordinary differential equation (ODE) solver can use to evaluate the current simulation.
EMI_GetSolverName Returns the current step size, in seconds, that the ordinary differential equation (ODE) solver uses to evaluate the simulation.
EMI_GetStepSize Returns the current step size, in seconds, that the ordinary differential equation (ODE) solver uses to evaluate the simulation.
EMI_GetTime Returns the current simulation time, in seconds.
EMI_IsAcceptedStep Checks whether the current time step is an accepted step.
EMI_IsFixedStepSolver Checks whether the ordinary differential equation (ODE) solver for the current simulation is a fixed step-size ODE solver.
EMI_IsInitialStep Checks whether the current time step of the simulation is the initial time step.
EMI_IsMajorStep Checks whether the current time step of the simulation is a major time step.
EMI_IsMinorStep Checks whether the current time step of the simulation is a minor time step.

Log in to get a better experience