Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Frame message with no data bytes

Hi, I have a CAN message without data, I could recognize it by identifier. It is any options that I am us sessions which is opened by dbc file and recognize it with Convert.vi? 

 

Thanks 

0 Kudos
Message 1 of 2
(2,453 Views)

Without seeing exactly what you are all I can say is that sounds odd.  So a frame can be sent, with a payload of 0 bytes, that is still a valid frame and it might actually be what is happening here.  The alternative doesn't seem likely.  NI's API, and even the transceiver itself would likely be corrupt, no ACK would be sent, and the data would be retransmitted if the ID came in, but the payload was somehow lost.  I'd perform some kind of log that can show you all frames that came in and see if some have the data, or if every time that ID is seen if the payload is empty.  The XNet Bus Monitor has the ability to log to a TDMS file, which is less than ideal, but not useless.  There are examples in the Help >> Find Examples which can play back this file and let you slowly read every frame one by one.  

0 Kudos
Message 2 of 2
(2,419 Views)