Example for Sending Diagnostic Requests and Receiving the Responses with CAPL (CANoe > 9.0SP2)

This example shows how to send diagnostic requests and diagnostic responses with CAPL. The example contains a simulated ECU so that you can run this example in simulated mode. The example also contains a test module showing the use of diagnostic functions in CANoe’s Test Feature Set (TFS).

Please note that the setting for the diagnostic description is different from the normal setting for a diagnostic tester: as it contains the simulated ECU the diagnostic description file (here CDD) is assigned to the database node (which is the required setting for a simulated ECU) rather than as tester (“Send only”). The latter is the setting if you have a real ECU and you want to send your requests from CANoe. See below:

This example can be used with CANoe 9.0 SP3 and higher.

SendRequestReceiveResponse_9.0SP3and_higher.zip



Article ID: 915
Last updated: 2019-06-24
Revision: 6
CANalyzer/CANoe -> Diagnostics -> CAPL -> Examples -> Example for Sending Diagnostic Requests and Receiving the Responses with CAPL (CANoe > 9.0SP2)
https://kb.vector.com/entry/915/