Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Frame

Hello,
i want to know if it is possible to see all the CAN frames, including ACK,CRC bits etc.....in a transmission.
Thanks a lot
e.c.
0 Kudos
Message 1 of 4
(4,061 Views)
If you are talking about seeing the value of the frames using a NI-CAN device, then the short answer is NO, you can't see the value of each of the frames.

You can look for specific errors to tell you when one of the frame parts is bad. The NC_ERR_CAN_BUS_OFF has hex encodings to tell you if a frame has problems, like no ACK, bad CRC, Stuff bit Error, and so on.

Why do you need to see the actual frames?
0 Kudos
Message 2 of 4
(4,061 Views)
well,it could be very interesting for me to see all the frame, so I could know where is for example the stuff error exactly.It is important for me to know all the available information so I thought perhaps there was a file where all the frame was recorded.
Thanks
e.c.
0 Kudos
Message 3 of 4
(4,061 Views)
I would also need to access that frame information for logging reasons.

There is a datatype

NCTYPE_CAN_FRAME that supposedly is possible to use with ncWrite. It contains entries for

- Arbitration ID
- DLC
- IsRemote
- Data[8]

There is also NCTYPE_CAN_FRAME_TIMED that in addition contains a timestamp.

However, if I use this data type with ncWrite, nothing happens.

Maybe you or someone else could explain the use of these two frames to me? I would surely be greatful.

/Jiddra
0 Kudos
Message 4 of 4
(4,061 Views)