J1939ILActivateDiagnosticsSupport
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This function activates or deactivates the support of J1939 diagnostics by the IL. If diagnostics support is activated the node:- sends message DM1 always cyclically
- sends message DM2 if DM2 is requested
- clears all previously active DTCs if DM3 is requested
- clears all active DTCs if DM11 is requested
- sends configured diagnostics messages if they are requested
Parameters
-
enable: Enables or disables support of J1939 diagnostics:
- 0: Disable support of J1939 diagnostics
- 1: Enable support of J1939 diagnostics
- node: Simulation node to apply the function.
Return Values
- 0: success
- < 0: An error has occurred: IL Error Code