Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » Simulation Control » Shared Functions » SCC_StartSimulationDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
SCC_StartSimulation
Valid for: CANoe DE • CANoe4SW DE NoteIf simulation is restarted after a stop, the XML configuration file will be read in again. While the simulation is deactivated, another data set can be loaded with SCC_LoadCommunicationConfig.
Function Syntax
long SCC_StartSimulation()// form 1long SCC_StartSimulation(dword SLACMode)// form 2
Description
These functions start the simulation DLL in active mode. NoteUntil the simulation is started, no messages are sent and the API (except
SCC_StartSimulation()) has no effect!
With the vehicle DLL, the call of SCC_StartSimulation() starts the setup of a connection.
Parameters
- SLACMode
Controls the behavior regarding SLAC, which overrides the parameter<UseSLAC>from the XML configuration:- 0 = SLAC is skipped (may be done manually)
- 1 = SLAC is used
- 2 = EV: use SLAC depending on link status (not recommended due to HomePlug Green PHY chip instabilities)
Return Values
-
0
Not successful -
1
Successful