Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » setStartdelay

setStartdelay

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

void setStartdelay(int delay)

Description

Sets the value of the Start Delay for this network node. This function can only be called in the preStart event procedure. Afterwards the value of the Start Delay cannot be changed any more.

Parameters

  • delayText: Integer for the Start Delay ms. This value may lie between 0 and 99999. If the value is greater or less than the limits of this range a warning appears in the Write Window.

Return Values

Example

...
on preStart
{
// Set Start Delay to 10 seconds
setStartdelay(10000);
}
getStartdelay