Skip to content

ASCReader does not support ASC format since V8.1 #1531

Open

Description

@Tian-Jionglu

Describe the bug

ASCReader in python-can 4.1.0 doesn't support ASC CANFD format since V8.1, since <symbolic_name> name is missing in code.
According to the document from Vector <can_log_trigger_asc_format.pdf>, there should be <SYMBOLIC_NAME> between <ID> and <BRS>.

To Reproduce

Use python-can to read CANFD message in asc log since format V8.1.

Expected behavior

Reading process stopped with CANFD message.

Additional context

I made a quick fix in a forked branch.
I think an overall fix about ASC format IO is needed in this issue.

OS and version:
Python version:
python-can version:
python-can interface/s (if applicable):

Traceback and logs

Activity

  1. zariiii9003 commented on Mar 6, 2023

    @zariiii9003
    Collaborator

    Since you have the format description, could you provide a backwards compatible solution as a PR?

  2. Tian-Jionglu commented on Jun 11, 2024

    @Tian-Jionglu
    Author

    see PR #1641 , cause of my misunderstanding of ASC logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions