LabVIEW Control Design and Simulation Module

EvaluateError (ESI Function)

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

EvaluateError (ESI Function)

Owning Class: Callback API

Requires: Control Design and Simulation Module

Prototype

SIM_Error EvaluateError(SIM_Solver *solver, long *isAcceptedStep);

Description

Calculates the error of the current step and evaluates whether the error satisfies the relative tolerance and absolute tolerance values.

Inputs

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

Outputs

Name Description
isAcceptedStep Returns a non-zero value if the solver accepts the step.

Return Value

Returns the error condition for this function.

Related Topics

UpdateStates

Log in to get a better experience