07-18-2018 06:11 AM
Hey guys,
I'm working on a project where I need to be connected to a CAN network and get CAN OBDII messages. For troubleshooting the code, it is really difficult to be connected continuously. Does anyone know of a CAN OBD2 messages simulator or a VI that can generate random messages?
Thanks!
Solved! Go to Solution.
07-19-2018 06:48 AM
Hi CC,
Depending on what you want to troubleshoot you have a couple of options in my opinion:
1) buy a physical CAN simulator: There is cost/time involved, but this will allow you to test all parts of your code and HW
2) I am not aware of a VI or software which you could use out of the box. But as you have a functioning CAN network, you could just record a couple of messages and save them somewhere on your drive. The you just need a VI which reads a random message from that file.
This shouldn't be to much work and would allow you to test everything not HW related on your program.
Andreas
07-19-2018 06:55 AM - last edited on 01-26-2024 06:04 PM by migration-bot
The Automotive Diagnostic Command Set includes an ECU Simulator which offers all supported Diagnostic Protocols as well as Tranport Protocols to allow testing of various services.
07-19-2018 06:58 AM
Thanks Gibson,
I didn't know about this feature of the ADCS toolkit
07-19-2018 07:02 AM
just check in the example finder
07-20-2018 03:44 AM
Thank you Gibson,
I will check it out today.