Skip to main content

testWaitForScopeFitDataFr

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long testWaitForScopeFitDataFr(frFrame aMessage, dword msgFieldStart, dword msgFieldEnd); // form 1
  • long testWaitForScopeFitDataFr(frFrame aMessage, dword msgFieldStart, dword msgFieldEnd, dword preTimeNs, dword postTimeNs); // form 2

Description

The defined frame cutout is shown in the scope’s Diagram view. The enlarged area is automatically scaled in time direction.

Parameters

  • aMessage: The frame to be fitted.
  • msgFieldStart, msgFieldEnd: The start and end of the cutout to be fitted. See <application\>\Reusable\CAPL_Includes\Scope\ ScopeBitAnalyse.cin.
  • preTimeNs: Defines the preliminary lead time in [ns] for the defined message field start.
  • postTimeNs: Defines the overtravel time in [ns] for the defined message field end.

Return Values

  • 1: Success
  • 0: Timeout
  • < 0: Error occurred. See EScopeCAPLFitDataReturnCode in <application\>\Reusable\CAPL_Includes\Scope\ ScopeBitAnalyse.cin.

Example

Scope Sample Configuration