LabVIEW Control Design and Simulation Module

EMI_GetFinalTime (EMI Function)

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

EMI_GetFinalTime (EMI Function)

Owning Class: Simulation Information

Requires: Control Design and Simulation Module

Prototype

double EMI_GetFinalTime(emiRef model);

Description

Returns the time, in seconds, at which to stop the ordinary differential equation (ODE) solver for the current simulation.

Details

Examples

Inputs

Name Description
model Specifies a reference to the external model. Use this reference as an input to other EMI functions. Do not modify model directly.

Return Value

Returns the time, in seconds, at which to stop the ODE solver for the current simulation.

Details

The simulation might not reach the final time if an error occurs of if the Halt Simulation function stops the execution programmatically.

Examples

double finalTime = EMI_GetFinalTime(model);

Related Topics

EMI_GetInitialTime

Log in to get a better experience