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

# CAPLfunctionIsSimulated

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

[CAPL Functions](../../CAPLfunctions.md) » [General](../CAPLGeneralStartPage.md) » [Function Overview](../CAPLfunctionsGeneralOverview.md) » isSimulated

# isSimulated

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

## Function Syntax

```
long isSimulated();
```

## Description

This function is used to get the information if CANoe DE product is in simulated mode.

## Parameters

—

## Return Values

* **1**: True, CANoe DE product is in simulated mode.
* **0**: False, CANoe DE product is in real mode.

## Example

This example checks if CANoe DE product is in simulated mode. Then the test is not executed.

```c theme={null}
// do not activate test when running in simulated mode
if (isSimulated())
{
    Write("Test cannot run in simulated mode!");
}
```
