Comments (5)
Hi @nexulm
it is implemented, but maybe it does not work.
Have to have a look on it
from canmatrix.
Hy @nexulm - in deed - it was not implemented while switching to openpyxl, but should work just now
from canmatrix.
It seems that the existing additional column "signal.initial_value" of the xlsx source file isn't used. Initial_value is always "0", only a few inital_value which are depending on the offset are showing another value than "0". But in this cases the offset calculation is the seems to be the reason to have the same value (initial_value = offset). For all signals the converted dbc shows initial_value = offset although the xlsx source has different values in the corresponding columns (signal.iniital_value and signal.offset)
The script is called with these parameters:
python3 -m canmatrix.cli.convert --dbcImportEncoding=utf-8 \
--dbcImportCommentEncoding=utf-8 \
--dbcExportEncoding=utf-8 \
--dbcExportCommentEncoding=utf-8 \
--additionalSignalAttributes is_signed,factor,offset,min,max,initial_value,GenSigStartValue \
--additionalFrameAttributes size,DiagRequest,DiagResponse,ApplMessage,NmAsrMessage,GenMsgSendType \
"$path/$param_file_wo_extension.xlsx" "$path/$param_file_wo_extension.dbc"
from canmatrix.
Hi @nexulm
could be fixed in branch: https://github.com/ebroecker/canmatrix/tree/issue_781
Additional: You don't need '--additionalSignalAttributes ... --additionalFrameAttributes ...' while importing xlsx files, they are only needed for export.
from canmatrix.
should be merged
from canmatrix.
Related Issues (20)
- Speed up Decode and Encode timing HOT 2
- 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
- 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
- 'nonetype' object has no attribute 'text' from ARXML
- Arxml convert to DBC HOT 6
- fibex support HOT 6
- Byte Number Starts "1" instead of "0" after Converting dbc file to Excel File
- convert ARXML to DBC: SG_ AND BO_ EMPTY
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.