CAPL (CAN Access Programming Language)

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



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

  2. This comment has been removed by the author.

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

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

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

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

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

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

  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.

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

  11. you for sharing such a useful article. I had a great time. This article was fantastic to read. Continue to publish more articles on

    Data Engineering Services