Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.2 KB

scripts.rst

File metadata and controls

41 lines (22 loc) · 1.2 KB

Scripts

The following modules are callable from python-can.

They can be called for example by python -m can.logger or can_logger.py (if installed using pip).

can.logger

Command line help, called with --help:

python -m can.logger -h

can.player

python -m can.player -h

can.viewer

A screenshot of the application can be seen below:

image

The first column is the number of times a frame with the particular ID that has been received, next is the timestamp of the frame relative to the first received message. The third column is the time between the current frame relative to the previous one. Next is the length of the frame, the data and then the decoded data converted according to the -d argument. The top red row indicates an error frame.

Command line arguments

By default the can.viewer uses the /interfaces/socketcan interface. All interfaces are supported and can be specified using the -i argument or configured following /configuration.

The full usage page can be seen below:

python -m can.viewer -h