Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_GetState

VTIL_GetState

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long VTIL_GetState();

Description

Returns the current state of the VT IL.

Parameters

Return Values

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

Example

on key 's'
{
  long state;
  state = VTIL_GetState();
}