Skip to main content

J1939ILGetState

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long J1939ILGetState(); // form 1
long J1939ILGetState(dbNode node); // form 2

Description

Returns the current state of the J1939 IL.

Parameters

  • node: Simulation node to apply the function

Return Values

  • 0: Initialized
  • 1: Claiming
  • 2: Active
  • 3: Stopped
  • 4: Suspended
  • < 0: IL Error Code

Example

on key 's'
{
  LONG state;
  state = J1939ILGetState();
}