Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

canalyzer blf file to mat file conversion

1,513 views
Skip to first unread message

Reid

unread,
Jul 4, 2014, 9:01:08 AM7/4/14
to
UPDATE 20140704
Function Now supports
returning File name, File path, and File extension of file being loaded.
Decoding IEEESingle (32 bit float) format
Decoding IEEEDouble (64 bit) format

NOTE: IEEEDouble will not work with 32 bit Matlab!

> UPDATE
> Now works for 32-bit or 64-bit Matlab
>
> I created a set of matlab scripts that converts Vector CANalyzer (asc or blf) files to Matlab data structures.
>
> Reid Steiger
>
> Ford Research & Advanced Engineering Europe
> Ford Werke GmbH, D-MF/1048, Spessartstrasse, D-50725 Köln, Germany
> E-mail: rste...@ford.com

Steven Lord

unread,
Jul 7, 2014, 11:24:41 AM7/7/14
to

"Reid " <Reid.S...@sbcglobal.net> wrote in message
news:lp68ik$8l6$1...@newscl01ah.mathworks.com...
Reid,

Given the interest in this collection of files (42 replies and about 15,000
views in one thread)

http://www.mathworks.com/matlabcentral/newsreader/view_thread/43231

please consider checking if you can place the scripts on the File Exchange
(either directly or by linking to a GitHub repository.)

--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Lee

unread,
Aug 24, 2014, 10:44:13 PM8/24/14
to
Hello Reid

I am looking for method to convert blf to mat. It would be very helpfull if I can get theh script if you don't mind. Thank you in advance

tebi...@gmail.com

:)

"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Ying

unread,
Sep 17, 2014, 6:01:12 PM9/17/14
to
Hello Reid,

I am working with CANalyzer and having too many log files to import to matlab. Would you mind sharing your script with me? Your help will be greatly appreciated! Thank you!
My email is shini...@gmail.com

Thanks,

Ying

"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Tauseef

unread,
Sep 30, 2014, 6:06:09 AM9/30/14
to
Hello Reid,

Can you please share the files with me. It would be of great help.

Thanks,
Tauseef
tauseef1...@gmail.com


"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Julian Wormer

unread,
Dec 17, 2014, 9:24:14 AM12/17/14
to
Hello,

I would also appreciate to get access to the blf specification and the conversion script!
please send to julian...@bfft.de

Furthermore I wanted to ask if someone knows about the existence of an C++ SDK for Reading/Writing BLF files. Unfortunately the information provided on the Vector website is less than useless, regarding BLF or any other logging format.

Regards, Julian

"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Jonas

unread,
Jan 26, 2015, 9:39:11 AM1/26/15
to
Hello Reid,

can you share your scripts with me?

Thanks and best regards,
Jonas



"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

David R

unread,
Feb 23, 2015, 4:41:16 AM2/23/15
to
Hello Reid,

I need to convert >250 *.blf files to *.mat files for a non-commercial project at my university. Could you please provide me with your scripts?

TIA
David


"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Maradona Rodrigues

unread,
Mar 2, 2015, 4:59:38 AM3/2/15
to
"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...
Hi Reid,

Please can you share the scripts that converts matlab scripts that converts Vector CANalyzer (asc or blf) files to Matlab data structures.
maradona....@gmail.com

Thanks

Jack Szpytman

unread,
Mar 6, 2015, 11:19:53 AM3/6/15
to
"Maradona Rodrigues" <maradona....@tatamotors.com> wrote in message <md1ca5$rds$1...@newscl01ah.mathworks.com>...
Hi Reid, I have about 200 .blf files to convert to .mat also; could you please share your script. Thank you!
jack.s...@continental-corporation.com

Andreas Staudigel

unread,
Apr 2, 2015, 10:07:11 AM4/2/15
to
"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...
Hello Reid,
i have the same wish as the previous speakers. Can you send me the script?
Email: andreas....@schaeffler.com

Thank you and happy Eastern

Greetings
Andreas Staudigel

Donald62

unread,
Apr 21, 2015, 7:35:30 PM4/21/15
to
Hello Reid,
i have the same wish as the previous speakers. Can you send me the script?
Email: c.lan...@inwind.it


Tony Duan

unread,
May 19, 2015, 6:08:31 AM5/19/15
to
Donald62 <c.lan...@inwind.it> wrote in message <WIOdnXrUGekhQ6vI...@giganews.com>...
> Hello Reid,
> i have the same wish as the previous speakers. Can you send me the script?
> Email: c.lan...@inwind.it
>

Hi Reid,

Will be really great to have the script from you. Please send me the script via yudu...@gmail.com. Thanks a lot and appreciated your great effort.

Tony

Alessandro Verde

unread,
Jun 17, 2015, 4:34:01 AM6/17/15
to
Hello Reid,
I have the same problem as the previous speakers. Can you please send me the script?
Really thank you in advance.

Email: alessandr...@gmail.com


"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Alessandro Verde

unread,
Jun 17, 2015, 4:38:01 AM6/17/15
to
Hello Reid,

I have the same problem as the previous speakers. Can you please send me the script?

Really thanks in advance.

Email: alessandr...@gmail.com


"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Patrick Schulze Vohren

unread,
Jul 6, 2015, 3:02:09 AM7/6/15
to
"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...
Hello Reid,
i have the same wish as the previous speakers. Can you send me the script?
Email: Patrick.Sch...@gmx.de

Thank You

Greetings
Patrick Schulze Vohren

Willem

unread,
Aug 13, 2015, 1:23:10 PM8/13/15
to
Hello Reid,

Would you kindly send me the script that converts CANalyzer log files into MATLAB structures please?

Thank you,
Willem

"Reid " <Reid.S...@sbcglobal.net> wrote in message

<lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Arthur Queiroz

unread,
Aug 17, 2015, 12:05:11 PM8/17/15
to
Hello,

Could anybody share the conversion scripts with me? My email is arthur...@gmail.com.

Thank you,

Arthur Queiroz

Giovanni Mattia Bonilauri

unread,
Oct 1, 2015, 10:50:20 AM10/1/15
to
Hi everybody!

Can anyone send me this amazing script?
Thank you so much!
laurif...@gmail.com

Marcel

unread,
Oct 20, 2015, 10:05:12 AM10/20/15
to
"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...
Hello Reid

I am looking for method to convert blf to mat. I am working on my Master thesis right now and I could really use your script, because I have no access to a full CANalyzer program.

Your help is much appreciated

m.hol...@tu-bs.de

marque

unread,
Dec 10, 2015, 4:41:43 AM12/10/15
to
Hello,
I would also appreciate to get access to the blf specification and the conversion script!
I need it for my master Thesis...
.. please send to: mar...@outlook.de


marque

unread,
Dec 10, 2015, 4:41:49 AM12/10/15
to
Hello Reid,

Would you kindly send me the script that converts blf to mat?
Would be great and thanx for your help!

Marc



Lee

unread,
Jan 8, 2016, 1:40:13 PM1/8/16
to
Hello Reid,

I have the same problem as the previous speakers. Can you please send me the script?

Really thanks in advance.

Email: tebi...@gmail.com

Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Karthik Suresh

unread,
Feb 10, 2016, 5:49:22 PM2/10/16
to
Hello Reid,

I am working on an application that requires .blf file to be converted into .mat.

It would be greatly appreciated if you send me the script to do the conversion.
My E-mail:karthiks...@gmail.com

Thanks in advance!!

Regards
Karthik Suresh

"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

m sy

unread,
Mar 20, 2016, 8:18:12 AM3/20/16
to
Hello Reid,

can you share your scripts with me?

Thanks and best regards,
msy...@gmail.com


"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

liang yin

unread,
Mar 24, 2016, 10:32:13 PM3/24/16
to
hey Reid

I am looking for method to convert blf to mat. It would be very helpfull if I can get the script if you don't mind. Thank you in advance

yinlia...@163.com


"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

Matt Cook

unread,
Mar 25, 2016, 6:02:11 AM3/25/16
to
Hello Reid,

I too am interested in such a script.
Would you be kind enough to share it with me please?
(email: matt...@jcb.com)

Regards ... Matt Cook

bruno LARNAUDIE

unread,
Mar 25, 2016, 11:01:10 AM3/25/16
to
Hello reid can i have this script please?

My email is: bruno.l...@u-psud.fr

Thanks a lot!

Matt Cook

unread,
Mar 30, 2016, 4:03:08 AM3/30/16
to
After seeing this post I looked a little closer at the subject and found that there are already methods provided for getting your logged data into MATLAB. I though I'd share the one I've used.

CANalyzer provides an 'Export' function and supports several data formats, one of which is MATLAB's .mat format. One way to export is to use CANalyzer in 'Offline' mode, open the required log file and run the data. Then, from the Trace window select the signals to export, right click and select "Import/Export" then "Export..". From the resulting export window click the "..." browse button and select "MATLAB Files (*.mat)" as the 'Save as type'. I have tended to export each signal individually (as I've only been interested in one or two signals). I didn't have much success with exporting lots of signals ... but I'm sure there will be a way.

The result of exporting a single signal is a MAT file with time and value series of data. Once opened in the MATLAB workspace the data series can be manipulated as desired.

So, not a slick process but there is definitely a way to get logged data into MATLAB without too much messing about.

Hoe this helps someone ... regards ... Matt Cook

Stefan Germann

unread,
Mar 31, 2016, 9:03:09 AM3/31/16
to
Salü Reid

I'm also very interested in the importer of the Vector blf Format into Matlab, Could you please share the source code

hao wang

unread,
Jun 8, 2016, 4:51:08 AM6/8/16
to
"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...
> UPDATE 20140704
> Function Now supports
> returning File name, File path, and File extension of file being loaded.
> Decoding IEEESingle (32 bit float) format
> Decoding IEEEDouble (64 bit) format
>
> NOTE: IEEEDouble will not work with 32 bit Matlab!
>
> > UPDATE
> > Now works for 32-bit or 64-bit Matlab
> >
> > I created a set of matlab scripts that converts Vector CANalyzer (asc or blf) files to Matlab data structures.
> >
> > Reid Steiger
> >
> > Ford Research & Advanced Engineering Europe
> > Ford Werke GmbH, D-MF/1048, Spessartstrasse, D-50725 Köln, Germany
> > E-mail: rste...@ford.com
>

hello Reid,
i also need a script to transfer a bfl file to mat. could you please also send me a copy?
3428...@qq.com

Thanks!

Alex Dautfest

unread,
Jun 18, 2016, 7:23:08 AM6/18/16
to
Hi Reid,
I would also like to use your script. Can you please sent me that to me e-mail address:
alexander...@dart-racing.de

Thanks!

Simon Wüst

unread,
Jul 8, 2016, 4:07:08 AM7/8/16
to
"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...
> UPDATE 20140704
> Function Now supports
> returning File name, File path, and File extension of file being loaded.
> Decoding IEEESingle (32 bit float) format
> Decoding IEEEDouble (64 bit) format
>
> NOTE: IEEEDouble will not work with 32 bit Matlab!
>
> > UPDATE
> > Now works for 32-bit or 64-bit Matlab
> >
> > I created a set of matlab scripts that converts Vector CANalyzer (asc or blf) files to Matlab data structures.
> >
> > Reid Steiger
> >
> > Ford Research & Advanced Engineering Europe
> > Ford Werke GmbH, D-MF/1048, Spessartstrasse, D-50725 Köln, Germany
> > E-mail: rste...@ford.com
>

Hello Reid,
i too need to convert a lot of .blf files into the .mat format. If you could share the script that would be awesome. My Mail adress is: simon...@gmx.net. Thank you in advance and have a nice day.

Kind regards
Simon Wuest

Glenn

unread,
Jul 14, 2016, 4:26:10 AM7/14/16
to
"Reid " <Reid.S...@sbcglobal.net> wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...
> UPDATE 20140704
> Function Now supports
> returning File name, File path, and File extension of file being loaded.
> Decoding IEEESingle (32 bit float) format
> Decoding IEEEDouble (64 bit) format
>
> NOTE: IEEEDouble will not work with 32 bit Matlab!
>
> > UPDATE
> > Now works for 32-bit or 64-bit Matlab
> >
> > I created a set of matlab scripts that converts Vector CANalyzer (asc or blf) files to Matlab data structures.
> >
> > Reid Steiger
> >
> > Ford Research & Advanced Engineering Europe
> > Ford Werke GmbH, D-MF/1048, Spessartstrasse, D-50725 Köln, Germany
> > E-mail: rste...@ford.com
>

Hello Reid,

could you also please share your code with me? I need to convert a very big batch of file from .blf to .mat. email: aza...@gmail.com

Thanks!

ne...@alunos.utfpr.edu.br

unread,
Jul 15, 2016, 2:20:51 PM7/15/16
to
Em sexta-feira, 4 de julho de 2014 10:01:08 UTC-3, Reid escreveu:
> UPDATE 20140704
> Function Now supports
> returning File name, File path, and File extension of file being loaded.
> Decoding IEEESingle (32 bit float) format
> Decoding IEEEDouble (64 bit) format
>
> NOTE: IEEEDouble will not work with 32 bit Matlab!
>
> > UPDATE
> > Now works for 32-bit or 64-bit Matlab
> >
> > I created a set of matlab scripts that converts Vector CANalyzer (asc or blf) files to Matlab data structures.
> >
> > Reid Steiger
> >
> > Ford Research & Advanced Engineering Europe
> > Ford Werke GmbH, D-MF/1048, Spessartstrasse, D-50725 Köln, Germany
> > E-mail: rste...@ford.com

Can anyone send me this script?? ne...@alunos.utfpr.edu.br

Harsha

unread,
Oct 10, 2016, 5:48:11 PM10/10/16
to
"Reid" wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...
> UPDATE 20140704
> Function Now supports
> returning File name, File path, and File extension of file being loaded.
> Decoding IEEESingle (32 bit float) format
> Decoding IEEEDouble (64 bit) format
>
> NOTE: IEEEDouble will not work with 32 bit Matlab!
>
> > UPDATE
> > Now works for 32-bit or 64-bit Matlab
> >
> > I created a set of matlab scripts that converts Vector CANalyzer (asc or blf) files to Matlab data structures.
> >
> > Reid Steiger
> >
> > Ford Research & Advanced Engineering Europe
> > Ford Werke GmbH, D-MF/1048, Spessartstrasse, D-50725 Köln, Germany
> > E-mail: rste...@ford.com
>


Hi,

Can you send me a copy of your scripts?
Email id - arharsha@gmaildotcom

Thanks & Regards,
Harsha Ademane

rileys...@gmail.com

unread,
Dec 5, 2016, 4:19:55 PM12/5/16
to
If anyone still has a copy of this script, could they please send it to riley.k...@paccar.com ? I've got several large BLF files that I need imported to matlab.

Thanks, Riley

Pranav Thiagarajan

unread,
Dec 7, 2016, 4:09:12 AM12/7/16
to
Hi Reid,

Could you please share your scripts with me too? Thanks.

Email:prt...@thi.de

Pranav

"Reid" wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...

shap...@gmail.com

unread,
Jan 9, 2017, 8:38:42 AM1/9/17
to
Hi Reid,

I would very much appreciate if you share your scripts with me too.
Thank you very much!

Email: shap...@gmail.com

Tal

zhigang fan

unread,
Jan 23, 2017, 9:37:07 PM1/23/17
to
Hello Reid,

I am working on an application that requires .blf file to be converted into .mat.

It would be greatly appreciated if you send me the script to do the conversion.
My E-mail:zhiga...@hirain.com

Thanks in advance!!

Regards
fan

Jack Everson

unread,
Feb 14, 2017, 9:00:24 AM2/14/17
to
Hello Reid,

I am currently trying to convert blf files to MATLAB format for my MSc dissertation, and this would very helpful for me.

Kind Regards

Jack Everson

jackev...@gmail.com

Thomas Schäfer

unread,
Mar 9, 2017, 3:39:14 AM3/9/17
to
"Reid" wrote in message <lp68ik$8l6$1...@newscl01ah.mathworks.com>...
> UPDATE 20140704
> Function Now supports
> returning File name, File path, and File extension of file being loaded.
> Decoding IEEESingle (32 bit float) format
> Decoding IEEEDouble (64 bit) format
>
> NOTE: IEEEDouble will not work with 32 bit Matlab!
>
> > UPDATE
> > Now works for 32-bit or 64-bit Matlab
> >
> > I created a set of matlab scripts that converts Vector CANalyzer (asc or blf) files to Matlab data structures.
> >
> > Reid Steiger
> >
> > Ford Research & Advanced Engineering Europe
> > Ford Werke GmbH, D-MF/1048, Spessartstrasse, D-50725 Köln, Germany
> > E-mail: rste...@ford.com

Dear mr Steiger
It would be great if you can you share this script with me!
My thanks in advance!
Best regards
Thomas Schäfer
thomas....@gmail.com

Josef Schaeffler

unread,
Mar 13, 2017, 10:28:06 AM3/13/17
to
Hello Reid,
i have the same wish as the previous speakers. Can you send me the script?
Email: josef.sc...@magna.com

Thank you and greetings,
Josef Schaeffler

monsieurLu

unread,
Mar 22, 2017, 6:49:08 AM3/22/17
to
Hello Reid,

Could you please consider send me your script at lilo...@googlemail.com.

Thank you in advance for your answer.

Lu.

Marcus Huelsken

unread,
Apr 18, 2017, 2:01:08 PM4/18/17
to
Hello Reid,

I think you know what's comming:

I have the same problem as the previous speakers. Can you please send me the script?
Really thank you in advance.

Email: marcus....@online.de

Raghav Kishan Sunku Ravindranath

unread,
May 1, 2017, 2:32:07 PM5/1/17
to
Hi Reid,

I need help with converting the blf files to mat. Could you send the script to me.
Thanks in advance.
Email-id: raghav...@gmail.com

Best,
Raghav Kishan

Mecanica

unread,
May 22, 2017, 1:18:11 PM5/22/17
to
Hello Reid,

I am looking for a way to read a .blf file as well and would be grateful if you would send me your script!
Email: Jn...@mecanicacorp.com

Thank you,
Justin Ngo

Tejas Sonavane

unread,
Jun 2, 2017, 4:48:09 PM6/2/17
to

jurisa...@gmail.com

unread,
Oct 26, 2017, 9:04:37 AM10/26/17
to
Hello Reid,

Can you share your amazing scripts with me?
I am troubled to analyze long time blf files.

Thanks and best regards,

Kenji

poojach...@gmail.com

unread,
Mar 23, 2019, 12:50:44 AM3/23/19
to
Can you send me the script to convert .blf to .mat.
It would be very helpful.
please share to poojach...@gmail.com

0 new messages