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

FSIL_GetState

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long FSIL_GetState(); // form 1
  • long FSIL_GetState(dbNode fs); // form 2

Description

Returns the current state of the FS IL.

Parameters

  • fs: FS simulation node to apply the function

Return Values

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

Example

Example form 1
on key 's'
{
  long state;
  state = FSIL_GetState();
}