10-03-2011 05:39 AM
Hello Everyone,
I started to use "Automotive Diagnostic Command Set" for LabView with NI USB CAN 8473 and I have a fundamental problem: I can not see the answers of the ECU.
The messages are properly sent and my ECU responds (see him with another tool that acts as a sniffer on the network), but are not able to review the responses of the ECU
What I'm doing wrong?
In attachment the screenshot of my very elementary project
thank you very much
monica
Solved! Go to Solution.
10-04-2011 02:52 AM
Hello Monica,
You can check the example in Labview "Transmit Receive same port.vi"
I think it shows exactly what you would like to do.
10-04-2011 02:58 AM
those examples you metion dont make sense, as they are not based on the Automotive Diag Command Set.
I would suggest that you check the error cluster if there is a timeout error shown. If so, please verify
-baudrate
-cabling/termination
-Transmit and receive IDs
If the error still does not go away, can you provide a the bus log file information you have with your sniffing tool that we can check what is going on?
10-04-2011 04:30 AM
Thanks Gibson,
I attached the screenshot in witch yuo can see my project, the errors and the can traffic sniffed.
Thank you very much for the help
monica
Thanks also to Antonios but I cannot open your examples because I've LabView 2010 (LabView2011 doesn't yet support Automotive Diagnostic Command Set!?)
10-04-2011 04:42 AM
as I mentioned in my first reply the Transmit Receive Examples postet do NOT refer to ADCS, but are NICAN examples which dont make sense in this context
10-04-2011 05:05 AM
I also took the opportunity to point out the incompatibility between LabView2011 and AutomotiveDiagnosticCommandSet
thanks for your support Gibson
monica
10-04-2011
06:44 AM
- last edited on
03-18-2025
04:55 PM
by
Content Cleaner
thats right. next release of ADCS will offer support of LabVIEW 2011
10-04-2011 07:00 AM
No Monica Gibson is right,
the .vi that I send was compiled in 2011 and can not be opened with a previous version of Labview.
Also I didn;t take in mind that you are using the Automotive Diagnostic Command Set so the vi that I sent you is not right for your needs.
Are you receiving any error while you try to read your data?
The most common you might face is error -8260. If this is the error you can solve it by using Diag Set Property and setting global fill can frames to true.
Can you check through the error handler if you receive such an error?
10-04-2011 07:18 AM
When you are using the ISO TP - Mixed Mode, you need to specify the address extensions for receive and transmit as well as the Receive and Transmit IDs.
To do so, refer to any of the ADCS examples. Basically, you have to set the Receive Address Extension and Transmit Address Extension fields of the diag reference cluster that is output from Open Diagnostic.vi. You need to set those to the first bytes of your diagnostic CAN messages.
Christian
10-04-2011 08:18 AM
Thanks Christian,
you hit the problem!
I forgot to enter an address.
Now everything works right
Thanks to everybody
have good work
monica