Skip to main content

canGetFramesPerBurstCount

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

long canGetFramesPerBurstCount(long channel, ValueSelector selector);

Description

Gets the count of frames per burst of a CAN channel. The kind of value to be returned (average, current, maximum or minimum) can be selected.

Parameters

  • channel: CAN channel (1…32).
  • selector: Value selector:
    • eCurrValue = current
    • eMinValue = minimum
    • eMaxValue = maximum
    • eAvgValue = average

Return Values

Count of frames per burst, if CAN statistics is enabled; 0 otherwise.

Example

write("Average frames per burst on CAN1: %i", canGetFramesPerBurstCount(1, eAvgValue));