J1939 receive outputs incorrect values.

조회 수: 9 (최근 30일)
Andrew Wilson
Andrew Wilson 2023년 3월 7일
답변: Shlok 2025년 5월 2일
I am using the vehicle networking toolbox to recieve j1939 messages from a GPS device. The configuration is done using the .dbc associated with network and I have verified the configuration is proper. I am able to read the messages using the Vector Canalyzer software, however the values being output from the J1939 recieve block do not match. Are there some limitations to the j1939 blocks within the vehicle networking toolbox? It seems there is some issue within the block itself that is not exposed to the user.

답변 (1개)

Shlok
Shlok 2025년 5월 2일
Hi Andrew,
I understand that you're encountering incorrect values from the "J1939 Receive" block, even though the configuration appears correct. The limitation arises because the block processes data strictly based on the DBC file, and if the transmitted messages don't fully match the DBC (e.g., in message length or signal packing), it may result in incorrect values.
A possible solution is to ensure that the transmitted message strictly follows the DBC format. Alternatively, you can initialize missing signals to default values using a script.
For further details on "J1939 Communication", refer to the following MathWorks Documentation link:

카테고리

Help CenterFile Exchange에서 Vehicle Network Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by