フィルターのクリア

canMessageImport - Difficult to import .asc file from Vector

24 ビュー (過去 30 日間)
Fernando Sarracini Júnior
Fernando Sarracini Júnior 2023 年 1 月 27 日
コメント済み: LuisMiguel 2024 年 2 月 19 日
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 件のコメント
Adrian Izbicki
Adrian Izbicki 2023 年 7 月 27 日
I'm having the same issue. Did you figure this out?
LuisMiguel
LuisMiguel 2024 年 2 月 19 日
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

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by