J1939 receive outputs incorrect values.

8 次查看(过去 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.

回答(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