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

# CAPLfunctionCANstressSetContinuousDisturbanceTimelimited

# CANstressSetContinuousDisturbanceTimeLimited

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

## Function Syntax

```plaintext theme={null}
void CANstressSetContinuousDisturbanceTimeLimited (dword duration, dword type);
```

## Description

Sets the **Continuous disturbance (time limited)** mode. If the disturbance has not previously been terminated by means of an explicit command such as [CANstressStop](CAPLfunctionCANstressStop.md), the end of the test module or the end of the measurement, it will prevail for the period of time set in **duration**.

## Parameters

* **time**: Defines the maximum length of the continuous disturbance. The length is specified in ms and must be greater than 0.
* **type**: Defines the type of continuous disturbance. The disturbance can be associated with dominant or recessive bits or it can be an analog disturbance. 2 indicates a dominant disturbance, 3 a recessive disturbance and 4 an analog disturbance (only in conjunction with **CANstress** DR).

## Return Values

—

## Example

—
