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

# CAPLfunctionCANstressIsFinished

# CANstressIsFinished

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

## Function Syntax

```
long CANstressIsFinished();
```

## Description

Serves to query whether the CANstress hardware is in the state **Finished**.

## Parameters

—

## Return Values

* **1**: If the CANstress hardware is in the state **Finished**.
* **0**: If the hardware is in another state (**Idle** or **Pending**).
* **-1**: On occurrence of an error.

## Example

—

•  Technical References are only available in English
