Page | 11
0x00000002,1,8,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,9728.191804,1.000092
0x00000003,1,8,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,9729.191807,1.000003
0x00000004,1,8,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,9730.191858,1.000051
0x00000005,1,8,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,9731.191809,0.999951
[End of Log, End Time=Mon Sep 24 19:44:23 2012, TimeStamp=9735.151937]
---- End of File -------
Header
Example: [Header, Start Time=Mon Sep 24 17:02:09 2012, TimeStamp=2.069340]
The TimeStamp=2.069340 value represents the number of seconds that elapsed since the CPU started,
further referenced as Header Time Stamp. In this case it indicates that 2.069340 seconds elapsed before
the header was written to the file. All date references should then be calculated using the Header Time
Stamp value.
Line Item Tick Count
The line item tick count can be found in the 12
th
value of the CAN message (See
File Layout
for more
details):
Example: 0x00000000,1,8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,9726.191841,0.000000
The Time Stamp is 9726.191841.
Note: It is possible to have CAN messages with a Time Stamp that is prior to that found in the header.
This is because the RTOS caches CAN messages and then dispatches them to the application once it’s
ready to receive.
Calculation
The actual time of a given line item can be calculated by subtracting the Time Stamp in the CAN message
from the Time Stamp in the Header. The resulting value indicates the number of seconds that have
elapsed since the header was written. The resulting value should added to the date/time value found in
the header. Note that the resulting value can be negative and indicates that the CAN message was
received before the header was written.