DBC files
Add DBC files from your computer, the cloud or the opendbc library, how they are linked to channels, and how to replace or remove one.
A DBC turns frame IDs and bytes into named signals with a factor, an offset and a unit. Without one, the workbench still shows every raw frame, but no physical values.
Add a DBC
| Source | Menu |
|---|---|
| Your computer | File → This computer → DBC… (select several files at once) |
| The opendbc library | File → This computer → OpenDBC library… |
| Your workspace | File → Cloud → Log or DBC… |
When a DBC is added, it is linked automatically to every channel of the open log where at least one of its message IDs occurs. Check and adjust the result in File → Channel mapping…; see Channel mapping.
If you add a DBC with the same file name as one already loaded, the new file replaces the old one and keeps its channel links.
The opendbc library
OpenDBC library… lists the 95 public DBC files bundled from commaai/opendbc (MIT licence). Search by file name or brand, tick one or more, and add them.
Community files, not OEM databases
opendbc files are reverse-engineered by the community. Before you rely on one, check a decoded value against a reading you trust, such as the vehicle speed on the instrument cluster.
Encodings
DBC files are read as UTF-8 first and fall back to GBK/GB18030, which many Chinese OEM files use. Comments and value-table texts in Chinese display correctly either way. You don't need to convert the file first.
Inspect a DBC
The DBC view (in the view menu next to File) shows every loaded DBC: messages, signals, nodes, value tables and attributes, with each signal's bit layout. See DBC view. To check a file for errors such as overlapping signals or duplicate names, use the DBC checker. To see what changed between two versions, use DBC compare. To browse a DBC without opening a log, use the DBC viewer, and to hand its signal list to someone as a spreadsheet, use DBC to Excel.
Remove a DBC
In File → Channel mapping…, use the remove button on the DBC file. It is unlinked from every channel and its signals leave the catalog.
Open a log
Every way to load a log into the workbench, from this computer, from the cloud, from the sample drive or from a saved project, and what happens next.
Channel mapping
Link each channel of a log to the DBC files that describe it, order DBCs when a channel has several, and know what happens to channels you leave unmapped.