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

setTimer

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

Function Syntax

  • void setTimer(msTimer t, long duration); // form 1
  • void setTimer(timer t, long duration); // form 2
  • void setTimer(timer t, long durationSec, long durationNanoSec); // form 3

Method Syntax (Dynamic)

  • void msTimer::set(long);

Description

Sets a timer.

Parameters

Timer or msTimer variable and an expression which specifies the duration of the timer.

Return Values

Example

Class: Timer, MS TimercancelTimer