Skip to main content

ResetSimulation

CAPL Functions » Smart Charging » CCS (Communication Setup) » Shared Functions » ResetSimulation Valid for: CANoe DE • CANoe4SW DE

Function Syntax

MethodReturnValueType ResetSimulation ( )

Description

This function resets all changes made to the Binding internal data objects like StateMachine, socket states and so on. For resetting any distributed object members e.g. messages please see resetDistObjValues.

Parameters

Return Values

MethodReturnValueType

All function calls (except for indications) will return a MethodReturnValueType indicating whether the call was successful or not. Possible values:
  • 0 OK
  • 1 InvalidArgument
  • 2 NoMatchingElementFound
  • 3 UnknownError

Example