# null

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Functions/CAPLfunctionSCCSetOptionalParameterFromConfig.md)

## SCC\_SetOptionalParameterFromConfig

**CAPL Functions** » **Smart Charging** » **SCC Modeling Libraries (Simulation Setup)** » **Test Functions** » **Shared Functions** » SCC\_SetOptionalParameterFromConfig

### Valid for: CANoe DE • CANoe4SW DE

### Function Syntax

`long SCC_SetOptionalParameterFromConfig ( dword Parameter, dword ConfigSection )`

### Description

Sets an optional parameter of type **complex** by referring to one of the **TestConfiguration** sections.

### Parameters

* **Parameter**: ID number of the parameter, as denoted in the lists of optional parameters below each Create-function.
* **ConfigSection**: ID of the config section where the parameter can be found.

### Return Values

* **0**: Not successful
* **1**: Successful

### Example

—
