Vector CANoe, CANalyser.

Status
Not open for further replies.

sumant91

Newbie level 1
Joined
Dec 16, 2014
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
0
Activity points
6
In vector CANoe we have designer panel which has a standard control called "Clock control", can anybody give an example in CAPL. How to use it?. Referred to manual already but didn't understand the syntax. Please help me out with this. Thank you.
 

Here is an example code that might help:

Code:
variables
{
    timer tseconds;
}
on key 'a'
{
    ClockControlStart("ClockControl", "StoppWatch");
    settimer (tseconds, 45);
}
on timer tseconds
{
    ClockControlStop("ClockControl", "StoppWatch");
}
 
Last edited by a moderator:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…