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.