将Canoe日志毫秒数转换为CANoe应用程序中的时间戳

时间:2018-12-13 14:02:07

标签: canoe

我当前的独木舟记录如下:

date Thu Dec 13 07:02:16.656 pm 2018
        base hex  timestamps relative
        internal events logged
        // version 9.0.0
        Begin Triggerblock Thu Dec 13 07:02:16.656 pm 2018
           0.000000 Start of measurement
           0.000000    PgbRequestWriteWindowSink := 6
           0.000000    AdtRequestWriteWindowSink := 8
           0.000000    EV00_CATEXTIDF0B2_IdAccessLvl := 1
           0.000000    EV00_CATEXTIDF0B2_IdLength := 7
           0.000000    EV00_CATEXTIDF0B2_IdDescLength := 6
           0.000000    EV00_CATEXTIDF0B2_Id := "1234567"
           0.000000    EV00_CATEXTIDF0B2_IdDesc := "Cletus"
           0.000000    SV: 5 0 1 ::BDT_Client_Panel::dataType = A2 c9 42
           0.000000    SV: 5 0 1 ::BDT_Client_Panel::fileSize = A3 0 1f 40
           0.000000    SV: 5 0 1 ::BDT_Client_Panel::dataIndex = A4 ff ff ff ff
           0.000000    SV: 3 0 1 ::BDT_Client_Panel::fileToWriteStatus = "**Step 1 - Select a file to be sent 
        "
           0.000000    SV: 2 0 1 ::RTC::initializeTimes = 1
           0.000684 CAN 1 Status:chip status error active
           0.002958 1  18EFFF25x       Rx   d 8 F0 4E 00 00 00 00 1F FF  Length = 556000 BitCount = 143 ID = 418381605x

           0.213105 1  18EFE890x       Rx   d 3 80 F0 10  Length = 372000 BitCount = 97 ID = 418375824x
           0.053272 1  18EA0725x       Rx   d 3 04 F0 00  Length = 368000 BitCount = 96 ID = 417990437x
           0.000384 1  18EA0725x       Rx   d 3 92 FD 00  Length = 368000 BitCount = 96 ID = 417990437x
           0.000380 1  18EA1A25x       Rx   d 3 04 F0 00  Length = 364000 BitCount = 95 ID = 417995301x
           0.001172 1  18EAE825x       Rx   d 3 04 F0 00  Length = 368000 BitCount = 96 ID = 418048037x
           0.426760 1  Statistic: D 0 R 0 XD 9 XR 0 E 0 O 0 B 0.39%
           0.185723 1  CEFFF25x        Rx   d 8 F0 6F 17 60 59 A3 8D FF  Length = 528000 BitCount = 136 ID = 217055013x
           0.424926 1  Statistic: D 0 R 0 XD 7 XR 0 E 0 O 0 B 0.30%
           0.014624 1  18EFE890x       Rx   d 3 80 F0 10  Length = 372000 BitCount = 97 ID = 418375824x
           0.201073 1  18EFFF25x       Rx   d 8 F0 4E 00 00 00 00 1F FF  Length = 556000 BitCount = 143 ID = 418381605x
           0.222265 1  CEFFF25x        Rx   d 8 F0 12 BD 80 FF FF FF FF  Length = 552000 BitCount = 142 ID = 217055013x
           0.000564 1  CEFFF25x        Rx   d 8 F0 13 BD 80 FF FF FF FF  Length = 548000 BitCount = 141 ID = 217055013x
           0.375579 1  18EF4B90x       Rx   d 3 80 F0 10  Length = 364000 BitCount = 95 ID = 418335632x

我已经尝试过多次将毫秒更改为本地时间戳,但是它不起作用:

我的结果必须是这样的:

将日志写入文件中。

 Date and Time     Chn     PGN     Name                         Event Type   Send Node   Receive Node   Src   Dest   Prio   Dir    DLC   Data                      J1939 Interpretation                                     
 15:13:41.860886   CAN 1   EF00p   Prop_A                       CAN Frame    ECU_0x25                   25    FF     3      Rx     8     F0 12 83 80 FF FF FF FF                                                                                                                
 15:13:41.861454   CAN 1   EF00p   Prop_A                       CAN Frame    ECU_0x25                   25    FF     3      Rx     8     F0 13 83 80 FF FF FF FF                                                                                                                
 15:13:42.077127   CAN 1   EF00p   Prop_A                       CAN Frame    ECU 144     ECU_0xE8       90    E8     6      Rx     3     80 F0 10                                                                                                                                        
 15:13:42.763715   CAN 1   D900p   DM14                         CAN Frame    ECU_0x25    ECU_0x07       25    07     6      Rx     8     01 13 EB F4 00 80 FF FF   
 15:13:42.876593   CAN 1   EF00p   Prop_A                       CAN Frame    ECU 144     ECU_0x4B       90    4B     6      Rx     3     80 F0 10   

0 个答案:

没有答案