Azzera filtri
Azzera filtri

canMessageImport - Difficult to import .asc file from Vector

24 visualizzazioni (ultimi 30 giorni)
Hello guys, I am having difficulties to use canMessageImport (2022b Matlab version) to import .asc file with the header like this below. The .asc file was recorded with VN-1630 Box. I am using: message = canMessageImport(file,'vector',canDB,'OutputFormat','timetable'), but I get an empty result.
Could you guys please help me how I could work around that?
date Wed Sep 22 02:06:16.360 pm 2021
base hex timestamps absolute
internal events logged
// version 10.0.0
Begin TriggerBlock Wed Sep 22 02:06:16.360 pm 2021
0.000000 Start of measurement
0.003830 CANFD 1 Rx 333 CANSig1 1 0 8 8 00 00 00 00 00 00 00 00 105203 138 303000 f8004819 46500250 4b280150 20011736 2000091c
0.003965 CANFD 1 Rx 204 CANSig2 1 0 8 8 dc 00 7d 01 6c f5 00 00 104156 134 303000 80001a63 46500250 4b280150 20011736 2000091c
  2 Commenti
Adrian Izbicki
Adrian Izbicki il 27 Lug 2023
I'm having the same issue. Did you figure this out?
LuisMiguel
LuisMiguel il 19 Feb 2024
I had the same problem with some asc files. I solved it by converting the asc files to new asc files using canalyzer: menu -> tool-> logging converison. Below a screenshoot with the wrong original asc file (left) and a good one generated from it (right). The more notable changes are the base type and the extra info added at the end of the message (Length, BitCount, ID). I hope it helps

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by