Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_GetState

Iso11783IL_GetState

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_GetState(); // form 1
  • long Iso11783IL_GetState(dbNode node); // form 2

Description

Returns the current state of the ISO11783 IL.

Parameters

  • node: Simulation node to apply the function.

Return Values

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

Example

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