Comments (4)
Hi @mattie47 ,
I am quite sure, canmatrix cannot do the conversion.
I never ha a DA in my hands, so I'd wounder if this works...
But maybe it's not to hard to implement, if I could get some basic information about this xlsx.
things like column-headers would help a lot
from canmatrix.
Thanks Eduard.
Slide 76, and slide 77 have a couple screenshots of the historic xls 2020 version:
https://www.cybertruckchallenge.org/wp-content/uploads/2022/06/Introduction-to-SAE-J1939-CyberTruck-2022.pdf
I'm not too sure how much can be shared, but I will see if I can provide a sanitised file with just the headers etc.
Worthy of note for https://github.com/nmfta-repo/pretty_j1939 is the author had always intended on trying to make it work with canmatrix (see last section of the readme).
https://github.com/andrewdodd/decoda is another tool which also built on pretty_j1939:
However, if you own a copy of the SAE Digital Annex (link), then this library provides a number of bundled scripts to convert the XLS file to a suitable JSON spec file. The code for these scripts borrows heavliy from the pretty_j1939 library, but it has been adjusted to work in a slightly different way.
from canmatrix.
We convert the J1939 Digital Annex to DBC format for every new revision, in a legal collaboration with SAE. You can purchase the DBC file here: https://www.csselectronics.com/products/j1939-dbc-file
In my opinion canmatrix is not well suited to handle this as the J1939 DA is filled with various syntax inconsistencies and issues. It's a lot of manual work to ensure the output is right.
from canmatrix.
Yeah it's quite a pain unfortunately. I wish I'd reached out here first to confirm what exact support there currently was, rather than just buying the spreadsheet. Things seem to be a lot simpler when they're in a DBC file for consumption in other tools, rather than the XLS/XLXS directly from SAE.
We had some shifting priorities internally so I haven't had a look at this much further.
A colleague did make a couple minor changes to pretty_j1939 to make it work with the latest DA though, however this was a pretty minimal change, and still requires converting the XLXS to XLS first:
https://github.com/SherifRiad/pretty_j1939
from canmatrix.
Related Issues (20)
- 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
- 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 4
- Unnecessary Interger-Conversion causes an error during ARXML Export
- Unnecessary Integer cast causes error during ARXML export HOT 1
- 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
- 'nonetype' object has no attribute 'text' from ARXML
- Arxml convert to DBC HOT 3
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.