How to approach unpacking *condensed* CAN messages in Simulink?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm using Simulink for analysing a CAN bus, but i'm not sure how to approach unpack so-called condensed CAN messages. There is a block for unpacking normal CAN messages in the Vehicle Network Toolbox, but this doesn't apply in my case with condensed messages.
The image shows (albeit simplified) how the messages are composed. Byte 1 indicates in which context(rows) the message must be interpreted. Byte 2 and 3 are used for actual data; to configure settings or receive values of eg. analog inputs.
The CAN unpack block can separate the bytes in a CAN message, but doesn't account for their context. How can I best approach that? I've got the academic license, so I have access to (almost?) all toolboxes if necessary.
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Vehicle Network Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!