Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Data Queries » EV Functions » SCC_GetPMaxScheduleEntryData

SCC_GetPMaxScheduleEntryData

Valid for: CANoe DE • CANoe4SW DE Note

Function Syntax

void SCC_GetPMaxScheduleEntryData ( long i1, 
long i2, long& Start, long& Duration, 
float& PMax )

Description

Gets various data of a PMaxScheduleEntry.

Parameters

  • i1: Selected index of the target SAScheduleTuple.
  • i2: Selected index of the target PMaxScheduleEntry.
  • Start: Gets the start time of the entry with the selected indices (via reference).
  • Duration: Gets the duration of the entry with the selected indices (via reference). -1 is returned if not present.
  • PMax: Gets the maximum power of the entry with the selected indices (via reference).

Return Values

Example

SCC_GetPMaxScheduleIDSCC_GetPMaxScheduleEntryCount