J1939 receive outputs incorrect values.
조회 수: 9 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
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:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Vehicle Network Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!