# null

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

[CAPL Functions](../../CAPLfunctions.md) » [K-Line](../CAPLfunctionsKLineOverview.md) » \_KLine\_ByteTransmissionCon

# \_KLine\_ByteTransmissionCon

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

## Function Syntax

\_KLine\_ByteTransmissionCon(BYTE byteIn, int64 endOfByteTimes\_ns)

## Description

Is called when a byte has been transmitted.

## Parameters

* **byteIn**: Transmitted byte
* **endOfByteTimes\_ns**: End of byte time stamp in ns resolution.

## Return Values

—

## Example

```plaintext
_KLine_ByteTransmissionCon(BYTE byteIn, int64 endOfByteTimes_ns)
{
    int64 endOfByteCorrection_ns;
    dword systemBaudRate;
    float uartSamplePoint;
    systemBaudRate  = 10400;
    uartSamplePoint = 0.5;
    write("Byte Value: %x", byteIn);
    write("End of Byte Time: [%.9f]", endOfByteTimes_ns/1000000000.0);
    // UART sample point corrected end of byte time. UART samples in the middle of a bit.
    endOfByteCorrection_ns = ((1.0/systemBaudRate) * uartSamplePoint) * 1000000000;
    write("Corrected End of Byte Time: [%.9f]", (endOfByteTimes_ns + endOfByteCorrection_ns)/1000000000.0);
}
```

[\_KLine\_ByteReceptionInd](CAPLfunctionKLineByteReceptionInd.md) • [\_KLine\_FrameReceptionInd](CAPLfunctionKLineFrameReceptionInd.md) • [\_KLine\_FrameTransmissionCon](CAPLfunctionKLineFrameTransmissionCon.md)
