Skip to main content

CANstressSetDisturbanceSequence

Valid for: CANoe DE

Function Syntax

void CANstressSetDisturbanceSequence (char sequence[], dword resolution);

Description

Sets the disturbance sequence.

Parameters

  • sequence: Describes the sequence as a string of 0, 1, a, and u characters, whereby 0 stands for dominant, 1 for recessive, a for an analog disturbance and u for undisturbed. A disturbance sequence can contain up to 2048 characters.
  • resolution: Sets the resolution of the disturbance sequence. Possible values are 0 for bit times and 1 for BTL cycles.

Return Values

Example

CANstressSetDisturbanceSequence("uuuu1111", 0);