Skip to main content

J1939ILControlStop

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long J1939ILControlStop(); // form 1
  • long J1939ILControlStop(dbNode node); // form 2
  • long J1939ILControlStop(dword options); // form 3
  • long J1939ILControlStop(dbNode node, dword options); // form 4

Description

Deactivates the IL and stops sending cyclic messages. A Cannot Claim Address message is sent, if the NMT is activated and the message is not suppressed with the parameter option set to 1.

Parameters

  • options:
    • 1: suppress sending Cannot Claim Address message
  • node: Simulation node to apply the function

Return Values

0 on success or IL Error Code

Example

on key 's'
{
    J1939ILControlStop(1);
}