A CAN log is a long list of frames. What you usually want from it is a picture: what the battery voltage did when the motor pulled hard, when exactly the BMS opened its contactor, whether the network got busy at power-up. Our CAN log analyzer decodes the log and plots it in the browser — no upload, nothing to install — and its plots can now combine fields from different devices, zoom into a moment, and export what you see.
This guide shows how, then works through four things worth plotting on an electric boat.
Step 1: load a log
Open the analyzer and choose a file, or paste lines. It detects the format from the content:
- Linux
candump—-lfiles (including CAN FD) and screen output - SavvyCAN / GVRET CSV
- Yacht Devices YDWG-02 raw
- Actisense and canboat CSV, and Actisense N2K ASCII
- PCAN-View
.trc - Vector
.asc - plain
ID#datalines
The file is read in your browser and never leaves your computer. Logs up to 150 MB fit in the page's memory; split anything larger.
Timestamps matter for plotting. With them, every chart shares a time axis in seconds from the start of the log. Without them, a chart can only show message order, and fields from different streams can't be lined up.
Step 2: decide what decodes the values
The analyzer decodes NMEA 2000 and J1939 messages from the open canboat database, and CANopen traffic by its function codes. For anything else — a motor controller's own messages, a battery's proprietary frames — load a DBC file, and its signals become plottable by name. If you don't have one, our free marine DBC covers 24 common NMEA 2000 PGNs, including battery status, engine data and speed, for use in other tools too; the Pro marine DBC pack extends it to 115 PGNs plus the Victron and MG battery registers.
Values come out in the units the decoder uses. NMEA 2000 follows SI, so battery temperature arrives in kelvin, not °C.
Step 3: plot one stream
The Streams table groups messages by what they are and who sent them — for NMEA 2000, by PGN and source address. Click a row. The Plot card opens with the stream's first two fields that actually change; constant fields such as an instance number are shown with a dashed outline and left off.
Click a field's chip to add or remove it. Each field gets its own chart, because battery voltage (around 52) and current (hundreds of amps) don't belong on one scale.
Step 4: add fields from other streams
Now click a different stream. The Plot card keeps what's already plotted and offers that stream's fields to add. Up to six fields, from any streams, share one time axis — so a battery's current sits directly above the motor's speed, and a spike in one lines up with its cause in the other. Each chart is labelled with its stream, and the × removes it.
Step 5: zoom into the moment
Drag across any chart to zoom all of them to that window. Then:
| Control | Does |
|---|---|
| ‹ › | pan half a window earlier or later |
| Zoom out | double the window |
| Reset | back to the whole log |
The time window on screen is shown beside the buttons.
Spikes don't disappear at full view. A long log has far more messages than a chart has pixels, so each chart reduces the data — but it keeps the lowest and highest value in every slice of time, not an even sample. A single-message current spike in a ten-minute log still shows as a spike. Zoom in and you see every message in the window. Streams longer than 40,000 messages are sampled evenly before that, and the card says so.
Zooming needs a mouse or trackpad. On a phone, a drag scrolls the page; the buttons still work.
Step 6: export
- CSV — every value in the visible window, at full resolution, one column per field. Fields from different streams are aligned by time; a cell is empty where that stream sent nothing at that instant. Zoom first to export just the event you care about.
- PNG — an image of the charts as shown, with their titles and colours, for a report or a forum post.
Bus load over time
For any log with timestamps and raw frames, a Bus load over time card shows two charts through the whole log: bus load as a percentage of the bit rate, and frames per second, with the average as a dashed line. It's worked out from each frame's size in the CAN 2.0 format without stuff bits, so the real load is somewhat higher.
For an NMEA 2000 log, the network report above it adds the average and busiest second, every device's address claim and its declared power draw. Check that the bit rate matches your network — 250 kbit/s for NMEA 2000.
Four things worth plotting on an electric boat
1. Voltage sag under load
Plot the battery's Voltage and Current (NMEA 2000 Battery Status, PGN 127508), and the motor's speed if it reports one. Zoom into a hard acceleration. Pick two steady moments, one light and one heavy, and read voltage and current at each. The voltage drop divided by the current change is the resistance between the cells and wherever the battery monitor measures voltage:
R ≈ ΔV ÷ ΔI, for example (51.6 − 50.9) V ÷ (150 − 10) A = 0.005 Ω = 5 mΩ
The numbers are illustrative; take yours from the log. Repeat the same test months later: a rise points to a joint, a cable or cells to inspect. The cable sizing guide explains what a few milliohms cost at propulsion currents.
2. Power at a steady speed
The figure that tests any sizing calculator is battery power at a known speed. Plot battery Voltage and Current, plus speed over ground from the GPS (COG & SOG, Rapid Update, PGN 129026, in m/s — multiply by 1.944 for knots). Hold a steady speed for a minute, run the same course both ways, zoom into each steady stretch and export CSV. In a spreadsheet, average voltage × current for each run, and average the two directions to cancel wind and tide.
Then compare it with what the calculator predicts for your boat — and if you send it to our owner reports page, it's published next to the prediction. The accuracy check explains why measured figures from real boats are what the calculator needs.
3. When and why the BMS disconnected
Plot the BMS's current and its contactor indicator (on a Victron Lynx Smart BMS NG, indicator 1 of Switch Bank Status, PGN 127501), and, if the BMS sends them, the lowest and highest cell voltages. Zoom to the moment the contactor indicator drops: the charts above show what the current and cells were doing in the seconds before. The Lithium NG PGN guide and the MG Energy Systems guide say which messages each BMS sends.
4. A busy network
Look at the bus-load chart for bursts rather than the average. A burst at the very start of a log recorded from power-up is devices claiming addresses and announcing themselves; one that repeats can be a device sending more than it should. Click a device in the network report to filter the streams to it, and compare its message rates.
Getting a good log to plot
- Record from power-up if you want address claims and product information in the log.
- Capture with timestamps:
candump -l can0on Linux, PCAN-View, SavvyCAN, or a gateway such as the YDWG-02 or an Actisense NGT-1. - Write down what you did and when — "full throttle at about 2 minutes, reverse at 5" — so you know where to zoom.
- Keep runs short. A few minutes around an event plot faster and export smaller than an hour of everything.
Related tools and reading
- NMEA 2000 network wiring — backbone, termination, power and the multimeter checks
- CAN log analyzer — the tool itself
- CAN frame decoder and signal calculator — one frame or one signal at a time
- Victron Lithium NG on NMEA 2000 — what a Lynx Smart BMS NG sends, byte by byte
- Motor drives on a Cerbo GX — the CANopen and NMEA 2000 messages from a motor controller
Want exact numbers for your boat?
Use the configurator to generate a vendor-ready spec sheet.
Start the configurator