10-12-2009 02:59 PM
I have some CAN code that has too much time from Tx to Rx and I want to quantify that. I would like to set a break before the Tx and at the Rx and see what that time is.
I cannot find anything that would not be intrusive into the code that would allow me to do this (I don't want to modify the code I have to do this).
Is this possible?
10-12-2009 03:26 PM
10-12-2009 04:12 PM
I would like to time these without adding code.
I use a debugger in my embedded code (not using Lab Windows) and I can set two breakpoints, and open a timer, when I hit the first break, I clear the timer, and run, and the timer shows execution time.
That is what I am looking for; not something in the code, but something a part of Lab Windows debugging to get a time between two break points.
10-12-2009 06:10 PM
10-14-2009 09:57 AM
I was thinking that was a good idea, but the system I'm going to do this with (that is causing me problems) has a CAN with two devices talking with different Arbitration IDs. The one I'm interested in is just a command response with the main board, the main board is constantly communicating with the slave board and there is a lot of CAN traffic on it.
I'm not sure I can use a scope to get this timing, since it is a specific response (matching Arbitration ids) that I'm looking for.