Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

canGetRxErrorCount

Valid for: CANoe DE • CANoe:lite DE

Function Syntax

long canGetRxErrorCount(long channel);

Description

Gets the total count of receive errors of a CAN channel.

Parameters

  • channel: CAN channel (1…32).

Return Values

Total count of receive errors, if CAN statistics is enabled; 0 otherwise.

Example

write("Receive errors on CAN1: %i", canGetRxErrorCount(1));