The free CAN Software API (Application Programming Interface) for Windows®
-
uyouu
- Posts: 6
- Joined: Thu 9. Jun 2016, 01:31
Post
by uyouu » Wed 30. Aug 2017, 07:29
Hi,
I wrote an app to send an recieve pcan basic message with c# code, and when i run this app for a long time 580 hours, i saw the log is only send message,response message function was broke ,I want know the possible reasons about this , log file like this :
Code: Select all
R 05:45:09.408 0x490 00 00 47 E0 01 54 5D C4
R 05:45:09.410 0x491 00 00 A0 00 00 00 00 00
S 05:45:09.445 0x4E0 AA AA AA AA 5D C0 20 AA
S 05:45:09.456 0x7E2 03 22 08 5C AA AA AA AA
R 05:45:09.459 0x7EA 05 62 08 5C 0A 6B AA AA
S 05:45:09.564 0x7E2 02 19 03 AA AA AA AA AA
S 05:45:09.671 0x7E2 03 22 08 57 AA AA AA AA
S 05:45:09.785 0x7E2 03 22 08 FF AA AA AA AA
S 05:45:09.893 0x7E2 03 22 08 FF AA AA AA AA
S 05:45:10.001 0x7E2 03 22 08 57 AA AA AA AA
S 05:45:10.109 0x7E2 03 22 08 7F AA AA AA AA
S 05:45:10.223 0x7E2 03 22 08 80 AA AA AA AA
S 05:45:10.326 0x7E2 03 22 08 5C AA AA AA AA
After 05:45:09.564 pcan box only send 0x7E2 message and no response message like 0x7EA, 0x490
Last edited by
M.Gerber on Thu 31. Aug 2017, 09:22, edited 1 time in total.
Reason: Inserted [code] tag for improved readability
-
K.Wagner
- Software Development

- Posts: 1080
- Joined: Wed 22. Sep 2010, 13:36
Post
by K.Wagner » Wed 30. Aug 2017, 09:06
Hello,
we would need a little more information ... and clarifications.
- Which operating system and platform are you using?
- Which version of PCAN-Basic are you using?
- Are you using another API like PCAN-ISO-TP, PCAN-UDS, or PCAN-OBDII?
- What do you mean with "PCAN box"? do you mean a PCAN-USB device?
- What do you mean with "response message function broke"? do you mean, your C# function for send?
- Can you debug your function and check why the message is not being sent (return error code)?
- Who is the other CAN participant in your scenario? Another app? an ECU?
- Are messages of your app being triggered by reading other messages? e.g. are you using a high layer protocol for transmission like ISO15765?
With this log data is difficult to say something, but it seems to me like after a time (in your case, 24 days?) some stimulus from the other CAN participant is failing.
Best regards,
Keneth