Comments (2)
I think you have some mismatsches in the IDs you provide.
But I think what you look for is the 'compound' id.
This 'compound' id is used if you want to store the arbitration ID in one integer, and also store the information 'extended' in the same integer.
It is usually done like this:
mask = 1 << 31
id = 418381865 # id without exended information
print(id | mask)
but than Id 418381865 should be 2565865513 (with coded extended bit)
Even better in hex:
Id 0x18f00029,
compound: 0x98f00029
and the other ID: 2564423920
is 2564423920 (extended, compound bit removed)
in hex: 0x98da00f0
without compound-bit: 0x18da00f0
this compound information seems to be useless, if you have such high arbitration IDs because they are implicite clear to be extended.
But keep in Mind, there are for example two arbitration IDs with the ID 1.
ID 1, extended = false (0x1)
and
ID 1, extended = true (0x80000001)
Hope thats the info you need ...
from canmatrix.
Thank you very much! This information will certainly be very useful.
from canmatrix.
Related Issues (20)
- convert ARXML to DBC have error:<class 'decimal.DivisionUndefined'> HOT 2
- Convert dbc <=> xlsx - units are deleted HOT 3
- Convert dbc <=> xlsx - DLC is always reset to it's maximum of 8 bytes HOT 3
- Exporting ARXML to XLSX (CanCluster vs. J1939Cluster) HOT 6
- canmatrix.py --> decimal.InvalidOperation: [<class 'decimal.DivisionUndefined'>] HOT 7
- Speed up Decode and Encode timing HOT 1
- 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 5
- Unnecessary Interger-Conversion causes an error during ARXML Export
- Unnecessary Integer cast causes error during ARXML export HOT 2
- Removing Vector__XXX from Dbc file HOT 1
- Cannot use the latest canmatrix version 1.0.post33+g89c1a76 to convert files
- "arxml is not supported" error is coming with "canconvert" cli command
- NameError: name 'Optional' is not defined HOT 1
- signed/unsigned signals dbc => xml HOT 1
- Speed Issue on loading Parsing ARXML CAN PDU HOT 5
- Physical Signal Range in XLSX Document HOT 6
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.