Error Frame 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 ErrorFrameCount ()
Method
CANx.ErrorFrameCount
Function
Returns the number of Error Frames on channelxsince start of measurement. Validxvalues: 1…32
Parameters
—
Return Values
Number of Error Frames on channelxsince start of measurement.
write ("Number of error frames on CAN1 = %d",
CAN1.ErrorFrameCount);