日本語の説明はこちら
This application is a tool that connects an SLCAN or SocketCAN device to a PC and allows you to easily verify CAN communication from your PC.
It supports receiving data flowing on the CAN bus, periodic and one-time transmission, switching between standard and extended IDs, and decimal to
You can download a pre-built application from Releases. It runs on Windows, Mac and Linux (binary).
- Single-shot transmission : press
Start
button without entering `Interval - Interval transmission : Input the interval (in milliseconds) you want to transmit interval in
Interval
and pressStart
button. - Switch standard/extended format : Click
StdID
/ExtID
to switch format - Change input decimal number : Click
DataFrame
label to switch. Also, you can switch input method to HEX byCtrl+H(J)
and to DEC byCtrl+D(F)
. - Filter function :
Ctrl+P
switches to Pro mode; in Pro mode, a table for filter settings is displayed, and by entering an ID to be ignored, messages with the specified ID are hidden from the log. (Currently, only the filter function is implemented in Pro mode.)
- CAN device must be available (for SLCAN, CANable2.0 or MKS CANable)
- Python must be installed.
- If Poetry is not installed, it must be installed beforehand. (It is used for version control of libraries)
- Resolving dependencies using Poetry will automatically install the packages needed to run your Python application.
- It is useful to have
make
included!
-
Open in terminal
-
Go to the directory where the CANViewer Python application is stored.
cd CANViewer-directory
-
Use Poetry to resolve dependencies and create virtual environments.
poetry install
or
make install
-
Launch the application with command.
poetry run python main.py
or
make run
-
Options for operating with SocketCAN
poetry run python main.py -c socketcan
This project is LGPL licensed. Please check LICENSE for more information.