Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Vector CANoe, CANalyser.

Status
Not open for further replies.

sumant91

Newbie level 1
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top