NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
aviadCielo
Posts: 22
0 Kudos
Accepted Solution

How to get timestamp from Transmitted CAN frame?

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... )

Member
Gibson
Posts: 114
0 Kudos

Re: How to get timestamp from Transmitted CAN frame?

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. 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page