CANBUS-Analyzer icon indicating copy to clipboard operation
CANBUS-Analyzer copied to clipboard

Vector ASCII Format: message IDs < 0x100 should be zero-padded

Open Bokonon79 opened this issue 6 years ago • 0 comments

Vector's ASCII exports do not zero-pad message IDs to the expected three digits. Examples:

432.77720 1  16              Rx   d 1 01  Length = 107914 BitCount = 58 ID = 22
434.04737 1  C               Rx   d 7 3B 0F 79 05 80 02 02  Length = 209910 BitCount = 109 ID = 12

This results in CANBusAnalyzer reporting spurious message IDs that contain a portion of the message data (example: ID "C" + data "3B F0 00 00" --> ID "C3B" + data "F0 00 00").

The Vector log reader should zero-pad these IDs to three digits (e.g. 016 and 00C) before handing them back to the main timer loop.

Bokonon79 avatar Jan 21 '19 07:01 Bokonon79