How to send the Diagnostic IDs (DIDs) through CAPL script?

Adarsh Kale picture Adarsh Kale · Sep 27, 2016 · Viewed 14k times · Source

Currently, I am automating the test cases for testing the Gauges in the Instrument Cluster. I have come across changing the units from metric to US through DIDs. Can anybody help me how to send the diagnostic related stuff using CAPL script.

Answer

Sachin Bharambe picture Sachin Bharambe · Sep 28, 2016

Try this may be it works using SendDiagRequest(reqobj);

===============================================================

  1. Add respective CDD file in vector canoe
  2. Set target ECU in Canoe settings
  3. You have to define contents of service each byte value, can get those values in CAN trace
  4. create object of services in CAPL and send it using SendDiagRequest(reqobj);