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

# CAPLfunctionFrChannelUsesCANoeNetworkSimulator

# frChannelUsesCANoeNetworkSimulator

[CAPL Functions](../../CAPLfunctions.md) » [FlexRay](../CAPLfunctionsFlexrayOverview.md) » frChannelUsesCANoeNetworkSimulator

**Valid for**: CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
long frChannelUsesCANoeNetworkSimulator(long channel);
```

## Description

Gets whether the given channel uses the built-in network simulator.

## Parameters

* **channel**: FlexRay channel (cluster number)

## Return Values

* **1**: True, the given channel uses the built-in network simulator.
* **0**: False, the given channel does not use the built-in network simulator.

## Example

```plaintext theme={null}
on key 'q'
{
  //checks if channel 1 is simulated
  if(frChannelUsesCANoeNetworkSimulator(1))
  {
    //is simulated
  }
}
```
