Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

CVI2013 / NI-XNET - How to measure the time between calling a function to "Write frame CAN" and the real instant of output frame CAN from the port ?

$
0
0

Hello,

 

I have a wierd question, I admit Smiley Very Happy

 

Well, I'm calling somwhere in my code a function to write a signal CAN (nxt_Write_SignalSinglePoint). I'm using CVI2013 + Automotive diagnostic command set. I have a PXI 8513/2 for CAN communication.

This function works great. The problem is that I think that there is a delay between the moment of calling this function, and the real moment when the frame CAN is generated electrically. 

 

So, to get the instant of calling the Write function, I can use GetLocalTime function. Even if I really appreciate if this last function return the time in micro-seconds.

But how can I get the moment when starting generating the CAN frame physically ?

 

That's it, for the moment Smiley Very Happy

   


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>