Is it possible to access CAN messages from .dbc file using message ID in the Vehicle Network Toolbox?

조회 수: 4(최근 30일)
Bhim Khanal
Bhim Khanal 2015년 6월 8일
편집: Vasanthilakshmi Karri 2016년 8월 8일
I would like to access and send messages with the structures the database file using message ID (they are short to type and remember) instead of message name and possibly change signal values before sending. I know it can be done using message name but would like to do with the IDs. Is it possible to do that?

채택된 답변

Drew Davis
Drew Davis 2015년 6월 9일
편집: Drew Davis 2015년 6월 9일
The canMessage API allows you to do this
  댓글 수: 3
Vasanthilakshmi Karri
Vasanthilakshmi Karri 2016년 8월 8일
I have the same application and I am new to CAN. I am not quite sure how to create this function CANId2Name. Do you have any sample code?

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by