Filter löschen
Filter löschen

canalyzer blf file to mat file conversion

191 Ansichten (letzte 30 Tage)
Tejas Sonavane
Tejas Sonavane am 30 Mai 2017
Kommentiert: 小松 am 19 Jun. 2024
This is not a question.This is an answer on how to do this with the famous thread that is contunuing but has no answers. I have uplaoded the files here.
  15 Kommentare
Mohammad Basiri
Mohammad Basiri am 9 Aug. 2022
Bearbeitet: Mohammad Basiri am 9 Aug. 2022
@Tejas Sonavane I'm receiving the following error while running dbc2ModuleBatch.p:
Index exceeds the number of array elements (64).
Error in dbc2Module
Error in dbc2Module
Error in dbc2ModuleBatch
teng
teng am 7 Mär. 2024
Unable to perform assignment because the left and right sides have a different number of elements.
Error in dbc2Module
Error in dbc2Module
I've faced this problem, Could you please help me?

Melden Sie sich an, um zu kommentieren.

Antworten (5)

Ivan Plavcic
Ivan Plavcic am 19 Sep. 2019
Hello,
I get the followin message when trying to run 'CanLoad.p':
''Are you using the correct binlog.dll?
No Data Loaded!''
Any suggestions?
  2 Kommentare
Ashish Sharma
Ashish Sharma am 8 Jul. 2021
@Ivan Plavcic I get same error. Have you found a fix?
Matteo
Matteo am 13 Apr. 2023
Hello to all,
I got the same error on.
I fixed it moving binlog.dll in the same folder of CanLoad (previously was inside folder x64).

Melden Sie sich an, um zu kommentieren.


Rodrigo Adamshuk Silva
Rodrigo Adamshuk Silva am 11 Aug. 2017
After creating the "can" variable in the Workspace, how can I open the CAN messages that I need?
  2 Kommentare
Tejas Sonavane
Tejas Sonavane am 15 Aug. 2017
Cna you show me what your workspace looks like, like a snip and I will be able to help you right away
Antonio Carvalho
Antonio Carvalho am 15 Feb. 2024
@Rodrigo Adamshuk Silva ciao. Do you have any news from your qustion? Thanks,

Melden Sie sich an, um zu kommentieren.


Steven
Steven am 15 Nov. 2017
After following your steps I called
temp = CanLoad()
and selected my test.BLF file to read in. As a result I get
temp =
sw: [1x1 struct]
where temp contains only software version, but no data.
Can anyone tell me whats going wrong?
  2 Kommentare
Stefan
Stefan am 25 Nov. 2017
Bearbeitet: Stefan am 25 Nov. 2017
Please have a look into the mFile of CanLoad. There you can find examples how to you use this tool. Further i found out, that you have put all corresponding DBC files into the same directory of CanLoad.
CAN FD would not supported, the mex file crashes.
This tool also works with asc files in the same way as blf files. but it takes much much longer.
Jorg Anckaert
Jorg Anckaert am 4 Apr. 2019
Hey Steven,
I seem to have the same issue. Did you manage you resolve it?

Melden Sie sich an, um zu kommentieren.


Nazar Rozkvas
Nazar Rozkvas am 10 Jul. 2018
Bearbeitet: Nazar Rozkvas am 10 Jul. 2018
Dear Tejas,
I have been trying to extract the .dbc files with the steps you have described, however, I am unsuccessful. I guess i'm just doing something wrong.
When I feed my files to the dbcModuleBatch.p, I get the following error:
>> dbc2ModuleBatch('Ehorizon__M002.blf')
Error using dbc2ModuleBatch
Too many output arguments.
I have also tried to feed the files to the CanLoad.m, but it have also failed:
>> CanLoad('Ehorizon__M002.blf')
Error using cd
Cannot CD to /Users/mac/Documents/.../CanLoad\ (Name is nonexistent or not a directory).
Error in CanLoad
I would really appreciate your help
  2 Kommentare
Nazar Rozkvas
Nazar Rozkvas am 19 Jul. 2018
Apparently, MATLAB has not developed the toolbox for the Mac OS...
Hang Zhang
Hang Zhang am 23 Dez. 2021
Bearbeitet: Hang Zhang am 23 Dez. 2021
Pay attention to Step3:
  • Unzip the folder contents
  • Put all the files that I have attached here in a folder.
  • Run dbc2ModuleBatch.p by click your right button of mouse to select the directory where including .dbc files, this step would build these four files named as can_module_ext.m, GetAsciiMessageFilterList.m, identify_DBC_Name.m, module_dbcname.m.
  • Place all the above newly files in the directory that contains the .blf files and add to the Matlab path.
  • Run CanLoad.p, this requires an input that is full name and path of the file.
Notice! CanLoad can not support CANFD!

Melden Sie sich an, um zu kommentieren.


Andrei
Andrei am 13 Okt. 2023
blfread function (Vehicle Network Toolbox) can be used to read data from BLF files in MATLAB
  2 Kommentare
teng
teng am 7 Mär. 2024
it only support blf file recorded by canoe. I can't parse
小松
小松 am 19 Jun. 2024
Hi, is it possible for MATLAB 2018b version to use this function?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by