Skip to content

About

Python CAN Log Analyzer – Parses CAN logs, decodes signals using DBC, validates signal ranges, and generates XML test reports for embedded automation testing.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Python CAN Log Analyzer

Python automation tool for analyzing CAN logs and validating ECU signals.

Features

  • CAN log parsing
  • DBC signal decoding
  • YAML configuration
  • CLI execution
  • XML test report generation
  • logging
  • unit testing using pytest

Use Case

Used for automated ECU validation and signal verification, reducing manual log analysis effort.

Architecture

       +--------------+
       |   CAN LOG    |
       +--------------+
                |
                v
       +--------------+
       |  Log Parser  |
       +--------------+
                |
                v
       +--------------+
       |  DBC Decoder |
       +--------------+
                |
                v
       +--------------+
       | Signal Check |
       +--------------+
                |
                v
       +--------------+
       |  XML Report  |
       +--------------+

Run Tool

python main.py

Override inputs

python main.py --log custom_log.txt --dbc custom.dbc

Run Tests

pytest

About

Python CAN Log Analyzer – Parses CAN logs, decodes signals using DBC, validates signal ranges, and generates XML test reports for embedded automation testing.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages