10-05-2020 07:39 AM
I tried with Transmit ID and receive ID correctly.But its baudrates mismatch and what baudrates of 500KBytes 80% sample point. I dont find option to fix it in software. Like error is coming ECU response is not coming though TX is being sent.
10-05-2020 08:01 AM
I tried with Transmit ID and receive ID correctly.But its baudrates mismatch and what baudrates of 500KBytes 80% sample point. I dont find option to fix it in software. Like error is coming ECU response is not coming though TX is being sent. Also there is issue like they say Arbitation ID is invalid incase if i write Rx complete ID. Error image is attached.
10-05-2020 08:12 AM - edited 10-05-2020 08:17 AM
Hi,
please refer to this document for more information on how to set a custom CAN FD baud rate and sample point (do these steps for both the nominal and the FD baud rate):
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000001Dd3xSAC&l=en-US
Here's a guide on how to calculate the custom hex baud rate values:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7mDSAS&l=de-DE
When using extended CAN IDs (like all above 2047), please perform a logical OR with the value 0x20000000 before passing the ID in, like described in this topic:http://zone.ni.com/reference/en-XX/help/372140J-01/adcs/opendiagnosticoncanfdvi/
10-09-2020 02:59 AM
Everything working well . As i broke the example program into my own VI. But do you know how to remove ISOTP -8260 error. I get my tester success but its not stable sometimes it give this error. I don't understand what's the reason.?
thanks
10-09-2020 03:21 AM
Hi,
error -8260 means that the ECU failed to respond within the set time span.
I would first check if the bus is really fine (e.g. by parallel logging via NI-XNET Bus Monitor with Error Frame output enabled). If Error frames are displayed, the CAN bus might not be set up correctly.
Then, when the timeout error happens in your code, inspect the frame log to find out if the ECU did answer at all (via its CAN ID) and how long the delay was.
You could also try increasing the timeouts, e.g. "Timeout Diag Command" and "Timeout FC" using the Diag Set Property.vi, in case the ECU seems to respond late.
10-09-2020 03:58 AM
I analysed it on xnet. There everything is ok as i enabled error frames too. And also you mentioned to increase Timeout Diag command i increaed upto 3 seconds and also FC upto 2 sec.but nothing changed. Any other i can change for time out ?
10-09-2020 04:37 AM - edited 10-09-2020 04:40 AM
Hi,
I'm not seeing your CAN IDs in that log, can you maybe enable filtering to the specific IDs?
From the monitor page it seems that the ECU did answer however after the last request, but seeing a full log would make it more clear
10-09-2020 04:45 AM
Here i am attaching ECU responded correct for tester present.
10-09-2020 05:50 AM
Hi,
is this the exact snapshot of communication when your VI reports the timeout error?
10-09-2020 07:55 AM
yes i think i need to periodic send TX unless i get positive reply because 90% of time its working and rest its ISOTP receive error .