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

# CAPLfunctionCANstressSetTriggerRange

# CANstressSetTriggerRange

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

## Function Syntax

```plaintext theme={null}
void CANstressSetTriggerRange (dword fromId, dword toId);
```

## Description

Sets a range for message IDs, which will activate triggers. Both simple and extended CAN message IDs can be specified. However, the corresponding mode must be set in the basic configuration!

## Parameters

* **fromId**: Sets the lower limit of the trigger range.
* **toId**: Sets the upper limit of the trigger range.

## Return Values

—

## Example

—
