# null

[SCC\_GetPMaxScheduleEntryCount](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Functions/CAPLfunctionSCCGetPMaxScheduleEntryCount.md)

# SCC\_GetPMaxScheduleEntryCount

**CAPL Functions** » **Smart Charging** » **SCC Modeling Libraries (Simulation Setup)** » **V2G Data Queries** » **EV Functions** » **SCC\_GetPMaxScheduleEntryCount**

**Valid for**: CANoe DE • CANoe4SW DE

## Note

* This function applies only to the SAScheduleList of ISO 15118.
* `<InvalidValueSigned>` and/or `<InvalidValueUnsigned>` can be defined in the XML configuration.
  * These are returned if an optional numeric message parameter was queried by this function but not found.
  * See [Configuration of Vehicle SCC Nodes](../../../CANoeCANalyzer/SmartCharging/SCProcedures/SCCConfigurationVehicleSCCNodes.md) or [Configuration of Chargepoint SCC Nodes](../../../CANoeCANalyzer/SmartCharging/SCProcedures/SCConfigurationChargePointSCCNodes.md).

## Function Syntax

```plaintext
long SCC_GetPMaxScheduleEntryCount ( long Index )
```

## Description

Gets the number of entries in the **PMaxSchedule**.

## Parameters

* **Index**: Selected index of a SAScheduleTuple.

## Return Values

Returns the number of **PMaxScheduleEntries** in the subelement **PMaxSchedule** of the **SAScheduleTuple** with the selected index.

## Example

—

[SCC\_GetPMaxScheduleEntryData](CAPLfunctionSCCGetPMaxScheduleEntryData.md) • [SCC\_GetPMaxScheduleID](CAPLfunctionSCCGetPMaxScheduleID.md)
