Skip to main content

testWaitForScopeShowEdges

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long testWaitForScopeShowEdges(linFrame aMessage, dword msgFieldStart,long bitNo, long noOfBits, dword flags, ScopeanalyseHandle handle);

Description

The defined frame cutout of the previously transition time measurement frame together with a bitmask is shown in the scope’s Diagram view. The bitmask is only shown if the parameter flags is correctly defined. The enlarged area is automatically scaled in time direction.

Parameters

  • aMessage: The message to be fitted.
  • msgFieldStart: The start of the cutout to be displayed. See <application\>\Reusable\CAPL_Includes\Scope\ ScopeBitAnalyse.cin.
  • startBitNo: A bit index in the message field.
  • noOfBits: Count of bits to be displayed.
  • flags:
    • Bits:
      • 0: Bit visible for analyzed edges
        • 0 = Without bitmask
        • 1 = With bitmask
    • All other bits are reserved and must be set to 0.
  • handle: A unique ID. Must be the same handle used by the call of the function testGetWaitScopeSignalTransitionTime.

Return Values

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

Example

Scope Sample Configuration