Manual packing of a CAN Message -> For use with VNT

1 vue (au cours des 30 derniers jours)
Pascal Viertel
Pascal Viertel le 6 Juil 2018
Hello everybody!
I created a USB2CAN interface for use on raspberry pi. This interface receives a CAN message via USB and splits the data into several arrays (id, datalength, data). Now im trying to transform these splitted informations into the "CAN_MSG" Datatype which is commonly used in the Vehicle Network Toolbox for example by Unpack Blocks. I already tried the "canMessage"-function but it doesnt work for Standalone C-Code generation.
Thank you for being helpful!

Réponses (0)

Catégories

En savoir plus sur Vehicle Network Toolbox dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by