Supported files

The log formats and DBC features the workbench reads, what each reader keeps and skips, and how channels are numbered.

Every reader turns its format into the same stream of frames: a timestamp, a channel, an ID, flags and the data bytes. Everything after that is identical across formats. That includes channel mapping, decoding, the Frames view and exports.

A log can be up to 150 MiB; the other caps are in Limits. Channels are numbered from 1, as in CANoe.

Log formats

FormatExtensionReadsNotes
Vector BLF.blfCAN, CAN FD, LIN and error framesCompressed and uncompressed containers
ASAM MDF 4.mf4CAN bus logging groupsNot measurement-only MDF files
Vector ASC.ascCAN and CAN FD trace linesAs written by CANoe, CANalyzer and python-can
CSV.csvOne frame per rowTwo layouts, see below
candump.logcan-utils log linesInterface names become channel numbers

To open a single BLF or MF4 file on its own, use the BLF viewer or MF4 viewer. To change a BLF's format, BLF to ASC and BLF to CSV rewrite it in your browser, and ASC to BLF goes the other way.

BLF

  • CAN frames with standard (11-bit) and extended (29-bit) IDs.
  • CAN FD frames up to 64 bytes, with the BRS and ESI flags.
  • Error frames, listed as their own rows.
  • LIN frames: the payload is shown as logged, but LIN signals are not decoded.
  • FlexRay and Ethernet objects are skipped.

A Windows .blf (Common Log File System) is a different format that happens to share the extension. It does not open here.

MF4

The reader handles CAN bus logging groups in finalized MDF 4 recordings, the same structure python-can and asammdf write. It supports sorted and unsorted records, as well as data lists and deflate-compressed blocks.

An MDF file that only holds measured channels, with no CAN frames in it, has nothing to decode. If the reader reports a block or compression method it cannot handle, renaming the extension will not help. Export the recording as BLF or ASC from the tool that wrote it.

ASC

Vector's ASCII trace, as CANoe and CANalyzer write it. Channel numbers are kept as they are in the file.

CSV

Two layouts are recognised from the header row:

  1. python-can CSVWriter: timestamp, arbitration_id, extended, remote, error, dlc, data, with the data base64-encoded.
  2. Engineering exports with columns for time, ID, data and, optionally, channel.

candump

The log format that candump -L (or candump -l) writes. Interface names map to channels: can0 and vcan0 become channel 1, can1 becomes channel 2, and a bare 0 also becomes channel 1. An ASC trace saved with a .log extension is read as ASC.

DBC files

  • Encodings: UTF-8, GBK and GB18030 are detected automatically, so Chinese comments and value tables read correctly.
  • Contents used for decoding: messages, signals (start bit, length, byte order, signedness, factor, offset, unit), value tables, comments and attributes such as cycle time.
  • Multiplexing: simple multiplexing is decoded. A multiplexed signal is decoded only in the frames where its multiplexor value matches.
  • Several DBCs per channel: allowed, see Channel mapping.

To check a DBC for problems before you rely on it, use the DBC checker.

J1939

Extended IDs are shown with their J1939 PGN and source address in the Frames view. A frame first matches the DBC message with exactly its ID. If there is none, it matches a message with the same PGN, preferring one with the same source address. Broadcast multipacket transfers (BAM) are reassembled automatically when the DBC defines the target PGN. Connection-mode transfers (RTS/CTS) are not reassembled yet.