> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionSCCSetWeldingDetectionCount

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

**CAPL Functions** » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [V2G Simulation Control](../CAPLFunctionsSmartChargingOverview.md#V2GSimControl) » [EV Functions](../CAPLFunctionsSmartChargingOverview.md#V2GSimControl) » SCC\_SetWeldingDetectionCount

# SCC\_SetWeldingDetectionCount

[Valid for](../../../Shared/FeatureAvailability.md):  CANoe DE • CANoe4SW DE

## Function Syntax

```
long SCC_SetWeldingDetectionCount ( dword Count )
```

## Description

Sets the number of **WeldingDetection** requests for the next welding detection phase.

## Parameters

* **Count**: Number of **WeldingDetection** messages, may be zero.

## Return Values

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

## Example

—
