# null

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

**CAPL Functions** » **K-Line** » \_KLine\_DataCon

# \_KLine\_DataCon

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

## Function Syntax

\_KLine\_DataCon(long count)

## Description

Called for a transmitted K-Line response.

**Note**

This function models a K-Line TP layer which is required for an ECU simulation.

## Parameters

* **count**: Number of transmitted bytes.

## Return Values

—

## Example

```c
_KLine_DataCon( long count)
{
   write("%d byte sent", count);
   diag_DataCon( count);
}
```

[\_KLine\_DataInd](CAPLfunctionKLineDataInd.md)
