Skip to main content

ILSetAutoStartParam

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long ILSetAutoStartParam(dword autoStartParam)

Description

Defines the behavior of the interaction layer at the start of measurement. If used at all, the function must be called within the on preStart event handler of a CAPL program.

Parameters

  • autoStartParam: State after measurement start (other values are reserved):
    • 0: Waiting
    • 1: Stopped
    • 2: Starting
Note: The default behavior (i.e. when ILSetAutoStartParam is omitted) is analogous to ILSetAutoStartParam(2).

Return Values

  • 0: No error
  • -1: General error

Example