Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get timestamp from Transmitted CAN frame?

Solved!
Go to solution

Hy all,

 

I work with QT C++ and NI-CAN.

 

I write a frame to the write queue of a TX_PERIODIC CAN Object.

I need to get from the object (or from the Interface Object?) the precise time that the object transmit the fram to the network.

How can I do it?

 

All the best,

Aviad

 

(There is a similar question in the forum, but no answer... )

0 Kudos
Message 1 of 2
(6,125 Views)
Solution
Accepted by topic author aviadCielo

you would need to set the interface into the Self-reception mode.

 

Self-reception specifies whether to echo successfully transmitted CAN frames as received frames. Each reception occurs just as if the frame were received from another CAN device. The self reception mode is not available on the Intel 82527 CAN controller
used by Series 1 CAN hardware. 

0 Kudos
Message 2 of 2
(6,124 Views)