Skip to main content

testWaitScopeGetSerialBitAnalyseViolationData

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long testWaitScopeGetSerialBitAnalyseViolationData(ScopeAnalyseHandle handle, long errorNo, ScopeDutyCycleDefinition dutyCycle, ScopeBitDataDutyCycle cycleData, ScopeSerialBitAnalysisViolationData data);

Description

Returns the duty cycle data and the violation data of the serial bit analysis for the error number.

Parameters

  • handle: A unique ID. The same handle must be used for all bit analysis function calls. ScopeAnalyseHandle Selectors
    • Keyword: handle
    • Description: A unique ID
    • Type: long
  • errorNo: The error number the data are requested.
  • dutyCycle: The duty cycle measurement parameters. See ScopeDutyCycleDefintion.
  • cycleData: The duty cycle data for the defined bit. See ScopeBitDataDutyCycle.
  • data: The serial bit analysis violation data for the error number. See ScopeSerialBitAnalysisViolationData.

Return Values

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

Example