Standalone CAN Bus Logging and Live Bus Playback
Standalone CAN logging records bus traffic to a micro-SD card with no computer attached. The
standalone CAN FD data logger has a micro-SD card slot for data logging. You configure it in
SLSS CANAnalyser, disconnect, leave it on a vehicle or test rig, and review the recording later. You can also play the recorded logs back onto a live bus, straight from the micro-SD card.
What you need
- A Lab CAN Pro. The micro-SD card window is only available once the software has connected to a Lab CAN Pro.
- A micro-SD card (an 8 GB industrial-grade card is included with the Lab CAN Pro).
- SLSS CANAnalyser on a PC, to configure logging and review the files.
- A connection to the bus. After setup the dongle is powered from its USB connector or the DB-9 connector.
Five ways to start logging
The Micro-SD Card window offers five logging methods. The first three start a log when a trigger occurs, and you can choose a maximum recording time. The last two always log, and keep a rolling history buffer.
- First message received: start logging when traffic appears on channel A, channel B or either.
- A specific ID received: start logging when data is seen on the chosen CAN ID.
- External I/O trigger: start logging from a push-button or other electrical input on I/O 1 or I/O 2.
- Always log, I/O saves a buffer file: a trigger saves the last x seconds or minutes (the pre-trigger duration) as a file. After a file is stored, the dongle is ready for the next trigger.
- Always log, A2B GPIO trigger: the same buffer idea, triggered by the GPIO on the Flextech Bus Monitor when connected over Qwiic. It also stores an audio WAV file on the Bus Monitor. See our A2B and CAN logging guide.
Advanced logging
When connected to the Flextech Bus Monitor over Qwiic, A2B logging can be enabled. Events on the GPIO1 and GPIO2 inputs can also be logged at a CAN ID you choose, either whenever the value changes or at a set interval.
Indicators and settings
- Standalone logging has its own CAN 2.0 or CAN FD configuration, separate from the settings used while connected.
- After you send the settings to the dongle and disconnect, the Connect LED is solid purple. The two channel LEDs blink with bus traffic so you can see that data is being logged.
- You can erase the stored logging settings from the dongle to disable standalone logging.
Live bus playback
A log on the micro-SD card is not just a record. The Lab CAN Pro can play it back to a live bus through the DB-9 connectors, on either bus channel or both. That lets you reproduce a captured drive or test on a bench.
- Pick the channel: play back on Channel A, Channel B or both.
- Play once or loop: run the log through once and stop, or loop it continuously.
- Watch it as it plays: SLSS CANAnalyser shows the playback rows as the messages are sent to the bus.
- Use logs from the dongle itself: playback works with logs recorded by the Lab CAN Pro. Files copied onto the card by hand are listed but cannot be played back, because the dongle uses its own .TXT log format.
Playback transmits on the bus, so make sure the channel bit rate and termination match the target bus and that sending is enabled for that channel.
Working with the log files
The Micro-SD Card window lists the log files on the card. You can download a file to the PC, open it directly in the offline Data Viewer, or delete it. For large files, the software estimates the download time, and it may be faster to take the card out and use a card reader. The dongle writes logs in its own .TXT format, so text files placed on the card from other sources cannot be used. See our
logged data viewer guide.
Good to know
- While the Micro-SD Card window is open, CAN logging and data viewing are not processed.
- If the micro-SD button is greyed out, the software is not connected to a Lab CAN Pro. See the troubleshooting guide.
Desk CAN Pro or Lab CAN Pro?
The
Desk CAN Pro logs through the PC. The Lab CAN Pro additionally adds the micro-SD slot for standalone logging and live bus playback. Our
CAN bus logger guide and the
product lineup compare the two.
Questions about a long-duration logging setup? Contact
technical support.
Frequently asked questions
Can I play a recorded log back onto the bus?
Yes. Logs recorded to the micro-SD card can be played back to the live bus through the DB-9 connectors on either bus channel or both, once or looped. See the live bus playback section above.
How do I start a playback?
Open the Micro-SD Card window in SLSS CANAnalyser, pick the log file from the list, choose the channel and loop option, and press the play button to send the log to the bus.