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

# CAPLfunctionCreateGlobalMarker

# CreateGlobalMarker

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

## Function Syntax

```plaintext theme={null}
long createGlobalMarker (char markerName[], char makerDesc []);
```

## Description

Sets a [marker](../../../CANoeCANalyzer/Windows/GlobalMarkers.md) in the CANoe DE product Trace Window, Graphics Window and State Tracker. The set marker can be displayed with the shortcut menu **Show** in the marker bar of these windows.

## Parameters

* **markerName**: Name of the marker.
* **makerDesc**: Description of the marker.

## Return Values

—

## Example

```plaintext theme={null}
on key 'a'
// sets a marker by pressing key <a>
{
  createGlobalMarker("speed", "speedDesc");
}
```
