Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » File Server Interaction Layer (FS IL) » FSIL_ActivateDiagnosticsSupport

FSIL_ActivateDiagnosticsSupport

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long FSIL_ActivateDiagnosticsSupport(byte enable); // form 1
long FSIL_ActivateDiagnosticsSupport(dbNode node, byte enable); // form 2

Description

This function activates or deactivates the support of ISO11783 diagnostics by the IL. If diagnostics support is activated the node:
  • sends message DM1 cyclically if any error is active
  • sends message DM2 if DM2 is requested
  • clears all previously active DTCs if DM3 is requested
If diagnostics support is activated then diagnostics message which are in the Tx list of the node are disabled and therefore not used by the IL.

Parameters

  • enable: Enables or disables support of ISO11783 diagnostics:
    • 0: Disable support of ISO11783 diagnostics
    • 1: Enable support of ISO11783 diagnostics
  • node: Simulation node to apply the function.

Return Values

Example