GithubHelp home page GithubHelp logo

Comments (5)

ebroecker avatar ebroecker commented on June 19, 2024

Thanks for this report, gonna have a look on it...

from canmatrix.

ebroecker avatar ebroecker commented on June 19, 2024

Hi @MatinF ,

which version of canmatrix do you use?
I just tried to reproduce the issue, but was not successful...

import canmatrix.formats

my_matrix = canmatrix.formats.loadp_flat(r"CSS-Electronics-OBD2-incl-extended-v2.0.dbc")

for num, frame in enumerate(my_matrix.frames):
    print(f"Frame {num}: {frame}")
    print(f" is j1939: {frame.is_j1939}")
    print(f" id:  {frame.arbitration_id}")
    print(f' Format: {frame.attributes["VFrameFormat"]}')
    if frame.is_j1939:
        print(f" pgn: {hex(frame.arbitration_id.pgn)}")

gives me this output:

Frame 0: OBD2
 is j1939: False
 id:  ArbitrationId(id=2024, extended=False)
 Format: StandardCAN
Frame 1: OBD2
 is j1939: True
 id:  ArbitrationId(id=417001749, extended=True)
 Format: J1939PG
 pgn: 0xda00

from canmatrix.

MatinF avatar MatinF commented on June 19, 2024

Hi Eduard,

This was tested via asammdf v7.3.16 GUI build on Windows 10 64 bit. I'm not entirely sure which canmatrix version is being used here. In this version, nothing is returned when I try to decode the test MF4 with the DBC. When I run a dev version with a console, that's where I see the previously reported error.

@danielhrisca is it possible to try and update to the latest canmatrix in asammdf to see if this resolves this issue?

from canmatrix.

danielhrisca avatar danielhrisca commented on June 19, 2024

@MatinF please try the development branch code

from canmatrix.

MatinF avatar MatinF commented on June 19, 2024

Thanks, I'll update on this in the separate ticket on the asammdf github danielhrisca/asammdf#930

from canmatrix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.