CAPL Script

Tx Chip Error Count

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

long TxChipErrorCount ()

Method

CANx.TxChipErrorCount

Function

Returns the current number of Tx errors in the CAN
receiver of channelx. Validxvalues: 1…32

Parameters

—

Return Values

Current number of errors in the CAN receiver of channelx.

write ("Number of Tx errors in receiver of CAN1 = %d", CAN1.TxChipErrorCount);