@@ -160,6 +160,52 @@ Than the calculated DLC will be stored.
160
160
this will recalculate DLC for each frame in ``` source.dbc ``` .
161
161
In ``` target.dlc ``` the calculated DLC will be stored independently from ``` source.dbc ``` .
162
162
163
+ ** delete unneeded/obsolete defines:**
164
+
165
+ ``` canconvert.py --deleteObsoleteDefines source.dbc target.dbc ```
166
+
167
+ this will remove all defines which no attribute exist for in ``` source.dbc ``` and store the result in ``` target.dlc ``` .
168
+
169
+ ** delete ECU:**
170
+
171
+ ``` canconvert.py --deleteECU=myEcu,myEcu2 source.dbc target.dbc ```
172
+
173
+ this will remove ECUs ``` myEcu ``` and ``` myEcu2 ``` in ``` source.dbc ``` and store the result in ``` target.dlc ``` .
174
+
175
+ ** rename ECU:**
176
+
177
+ ``` canconvert.py --renameECU=myEcu:myNewEcu,myEcu2:myNewEcu2 source.dbc target.dbc ```
178
+
179
+ this will load ``` source.dbc ``` and rename ECU ``` myEcu ``` in ``` myNewEcu ``` and ``` myEcu2 ``` in ``` myNewEcu2 ``` .
180
+ The result is stored in ``` target.dlc ``` .
181
+
182
+ ** delete Frame:**
183
+
184
+ ``` canconvert.py --deleteFrame=myFrame,myFrame2 source.dbc target.dbc ```
185
+
186
+ this will remove frames ``` myFrame ``` and ``` myFrame2 ``` in ``` source.dbc ``` and store the result in ``` target.dlc ``` .
187
+
188
+ ** rename Frame:**
189
+
190
+ ``` canconvert.py --renameFrame=myFrame:myNewFrame,myFrame2:myNewFrame2 source.dbc target.dbc ```
191
+
192
+ this will load ``` source.dbc ``` and rename frames ``` myFrame ``` in ``` myNewFrame ``` and ``` myFrame2 ``` in ``` myNewFrame2 ``` .
193
+ The result is stored in ``` target.dlc ``` .
194
+
195
+
196
+ ** delete Signal:**
197
+
198
+ ``` canconvert.py --deleteSignal=mySignal,mySignal2 source.dbc target.dbc ```
199
+
200
+ this will remove signales ``` mySignal ``` and ``` mySignal2 ``` in ``` source.dbc ``` and store the result in ``` target.dlc ``` .
201
+
202
+ ** rename Signal:**
203
+
204
+ ``` canconvert.py --renameSignal=mySignal:myNewSignal,mySignal2:myNewSignal2 source.dbc target.dbc ```
205
+
206
+ this will load ``` source.dbc ``` and rename signals ``` mySignal ``` in ``` myNewSignal ``` and ``` mySignal2 ``` in ``` myNewSignal2 ``` .
207
+ The result is stored in ``` target.dlc ``` .
208
+
163
209
164
210
####Extract and Merge:
165
211
@@ -250,6 +296,32 @@ Merges REAR_ECU and FRONT_ECU and FRAME1 and FRAME2 out of ```second.dbc``` with
250
296
251
297
merge additional can databases. Syntax: --merge filename[ : ecu =SOMEECU] [ :frame=FRAME1 ] [ : frame =FRAME2] ,filename2
252
298
299
+ --deleteEcu=DELETEECU
300
+
301
+ delete Ecu form databases. (comma separated list) Syntax: --deleteEcu=myEcu,mySecondEcu
302
+
303
+ --renameEcu=RENAMEECU
304
+
305
+ rename Ecu form databases. (comma separated list) Syntax: --renameEcu=myOldEcu:myNewEcu,mySecondEcu:mySecondNewEcu
306
+
307
+ --deleteFrame=DELETEFRAME
308
+
309
+ delete Frame form databases. (comma separated list) Syntax: --deleteFrame=myFrame1,mySecondFrame
310
+
311
+ --renameFrame=RENAMEFRAME
312
+
313
+ rename Frame form databases. (comma separated list) Syntax: --renameFrame=myOldFrame:myNewFrame,mySecondFrame:mySecondNewFrame
314
+
315
+ --deleteSignal=DELETESIGNAL
316
+
317
+ delete Signal form databases. (comma separated list) Syntax: --deleteSignal=mySignal1,mySecondSignal
318
+
319
+ --renameSignal=RENAMESIGNAL
320
+
321
+ rename Signal form databases. (comma separated list) Syntax: --renameSignal=myOldSignal:myNewSignal,mySecondSignal:mySecondNewSignal
322
+
323
+
324
+
253
325
* dbc:
254
326
255
327
--dbcImportEncoding
@@ -325,6 +397,7 @@ Merges REAR_ECU and FRONT_ECU and FRAME1 and FRAME2 out of ```second.dbc``` with
325
397
| sym | | + | | | | | + | + | + | + | | + | |
326
398
| xls(x)| + | + | + | + | + | | | + | + | + | | + | |
327
399
| csv | + | + | + | + | + | | | + | + | + | * | + | |
400
+ | xml | + | | + | | | | | + | + | + | | | |
328
401
329
402
330
403
0 commit comments