Comments (5)
Thanks for this report, gonna have a look on it...
from canmatrix.
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.
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.
@MatinF please try the development branch code
from canmatrix.
Thanks, I'll update on this in the separate ticket on the asammdf github danielhrisca/asammdf#930
from canmatrix.
Related Issues (20)
- use Canmatrix create dbc HOT 7
- Convert excel to DBC with Canmatrix HOT 1
- Convert DBC to arxml failed HOT 3
- Renaming Node / ECU via rename_ecu should clear out any existing transmitter and receiver HOT 1
- wrong with canmatrix.cli.compare.cli_compare
- when xsl2dbc,singal's offset γmini is uncorrect
- convert ARXML to DBC have error:<class 'decimal.DivisionUndefined'> HOT 1
- convert ARXML to DBC have error:<class 'decimal.DivisionUndefined'> HOT 2
- Convert dbc <=> xlsx - units are deleted HOT 1
- Convert dbc <=> xlsx - DLC is always reset to it's maximum of 8 bytes HOT 1
- Exporting ARXML to XLSX (CanCluster vs. J1939Cluster) HOT 6
- canmatrix.py --> decimal.InvalidOperation: [<class 'decimal.DivisionUndefined'>] HOT 7
- Speed up Decode and Encode timing
- ARXML to xlsx HOT 3
- System name for signal group in arxml
- Casting the frame id from scientific number format fails HOT 6
- Buttons for Folding/Unfolding Messages in Excel desappear at development branch compared to master HOT 6
- DBC <=> XLSX initial_value HOT 1
- Unnecessary Interger-Conversion causes an error during ARXML Export
- Unnecessary Integer cast causes error during ARXML export
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canmatrix.