LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

[XNET][CVI2015] Get the time/flag when writing a CAN periodic frame

Hello, 

 

I need to get the time when frame is really written in the CAN bus. 

Example : I have a cyclic CAN frame in the bus with 20ms as period.

when I call the write function to update data of this frame, how can I get the exact time when this frame will be really updated in the bus the next iteration. 

Cycle1(t)..............CallWriteFct......................Cycle2(t+20ms)

I need to get the value of time (or a flag update) when Cycle2 arrives.

 

Is there a function to do that ? 

 

Regards,  

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

All XNET/CAN functions are listed in the XNET Manual. I am not entirely sure if there is a function for that though, I haven't run across that before. I could have just never needed it though! It would be best to double check the manual!

 

NI-XNET Hardware and Software Manual:

http://www.ni.com/pdf/manuals/372840h.pdf

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