> ## 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.

# CAPLfunctionDataWindowStartStopLogging

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

**CAPL Functions** » [General](../CAPLGeneralStartPage.md) » [Function Overview](../CAPLfunctionsGeneralOverview.md) » dataWindowStartLogging, dataWindowStopLogging

# dataWindowStartLogging, dataWindowStopLogging

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

## Function Syntax

```plaintext theme={null}
void dataWindowStartLogging(char[] windowName);
void dataWindowStopLogging(char[] windowName);
```

## Description

Starts or stops logging in a specified [Data Window](../../../CANoeCANalyzer/Windows/Data/DataWindow.md).

## Parameters

* **windowName**: Name of the Data Window.

## Return Values

—

## Example

```plaintext theme={null}
dataWindowStartLogging("MyDataWindow");
...
dataWindowStopLogging("MyDataWindow");
```
