CAPL (CAN Access Programming Language)

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:












12 comments:

  1. need info on how to create a signals and messages in CANdb++

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Need info about how to produce report through CAPL.

    ReplyDelete
  4. Hi, need info on how to create a report through CAPL

    ReplyDelete
  5. how to do the event procedure for specific PGN in capl
    please sggest

    ReplyDelete
  6. any body can you please provide CAPL script real time scenarios along with coading???

    ReplyDelete
  7. i need capl documents can u please provide anybody have

    ReplyDelete
  8. Guys,
    Give some time i will update the info soon

    ReplyDelete
  9. 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.

    ReplyDelete
  10. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai

    ReplyDelete
  11. How to create CAPL program for following requirement.

    (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.

    ReplyDelete