Skip to main content

Posts

Showing posts with the label CAPL

CAPL

CAPL – CAN Access Programming Language Designed specifically to suit the CAN Applications The CAPL language allows you to write programs for individual applications (ECUs).  The system environment can be emulated with the help of CAPL in CANoe, e.g. the data traffic of all remaining stations can be emulated. CAPL Program   Structure: Event Driven Procedural language with Special Purpose Functions Events: Time Events (Software Timers) I/O Events (Key Board, Parallel port, Serial Port ) CAN Communication Events (Messages Errors) CAPL Browser Provides the Complete Development environment for CAPL Programs. A CAPL program consists of two parts: Declaration of global variables Declaration of user-defined functions and event procedures Declaration and Initialization of Global Variables: Global variables are declared in the global variables pane at the upper right. The data types  DWORD, LONG, WORD, INT, BYTE  and  CHAR  can be used analogously to their use in the C