Introduction:
CAPL is the most used programming language for the development of automatic tests and simulations in the automotive world. It is the main programming language for the most powerful CAN tools delivered by Vector.
The programming language is based on C/C++ syntax and offers some key features for embedded systems to the programmers. CAPL programmers can develop complete car simulations in CAPL and, in the same time, develop automatic test environments for their systems. CAPL and the corresponding Vector tools offer:
- support for one or more communication channels
- control of the test scenarios and all test operations
- event based operations to be used in simulations or tests
- interconnections with other PC applications
CAPL is an event driven software because the execution of the test script or the execution of the simulation cannot be considered a linear execution. At any time the program can jump to another procedure based on three different types of events.
The CAPL browser in which the complete development for automatic tests or car simulations is done includes a very useful text editor for the CAPL program and also a CAPL compiler.
A program written in CAPL represents parts or the full behavior of one network node available in the car. For more complex systems and simulations, the developer can create several different nodes connected on the same CAN bus, each node with its own CAPL software behind. A simulation of all nodes is possible to verify the behavior. Once this is done, the developer can deactivate any node from the communication BUS and connect the real system in order to test it.
Besides the general CAPL program execution, most of the tools offer other capabilities, useful for testing and debugging embedded systems:
- accurate and easy to use trace window
- bus statistics
- graphic display of sent/received messages and signals
- logging / replay capabilities
Links:
need info on how to create a signals and messages in CANdb++
ReplyDeletehi
DeleteThis comment has been removed by the author.
ReplyDeleteNeed info about how to produce report through CAPL.
ReplyDeletehi
DeleteHi, need info on how to create a report through CAPL
ReplyDeleteWhere is capl documents
ReplyDeletehow to do the event procedure for specific PGN in capl
ReplyDeleteplease sggest
any body can you please provide CAPL script real time scenarios along with coading???
ReplyDeletehi manu
Deletei need capl documents can u please provide anybody have
ReplyDeleteGuys,
ReplyDeleteGive some time i will update the info soon
Starting with French classes in Chennai, we quickly added on French language courses followed by the French language institute in Chennai. Subsequently, we expanded the range of languages offered to include spoken English courses. Foreign Classes will also be extended into other parts of the city, bringing our foreign language training courses closer to you.
ReplyDeleteHow to create CAPL program for following requirement.
ReplyDelete(1) 2 Tx messages of ID 0x100 and 0x102 with DLC 8
(2) 2 Rx messages od ID 0x101 and 0x103 with DLC 8
(3) Message 0x100 is transmitted every 100ms with random data
(4) data received in message 0x101 is transmitted via message 0x102
(5) If data received in first byte of message 0x103 is 0xAA then print pass in log file or less print fail in log file
Print all the data received and transmitted with message id in write window.
hi
Deleteyou for sharing such a useful article. I had a great time. This article was fantastic to read. Continue to publish more articles on
ReplyDeleteData Engineering Services