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

5 Ansichten (letzte 30 Tage)
Pascal Viertel
Pascal Viertel am 6 Jul. 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!

Antworten (0)

Kategorien

Mehr zu Raspberry Pi Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by