Home  > Support  > FAQ  > CAPL Books
 

CAPL Books

CAPL Function Reference Manual (Last updated: 11/23/04)

CAPL is a rich, robust language used to extend the power of CANoe and CANalyzer beyond the tool’s interfaces and to customize tool functionality to the user’s requirements. The CAPL Function Reference Manual presents a complete description of all standard functions of the Vector Communication Access Programming Language (CAPL), the programming language foundation of Vector CANoe and CANalyzer – two of Vector's most popular development tools.

Download CAPLFunctionReferenceManual.pdf (2.9MB)

Programming With CAPL (4/13/07)

Programming with CAPL introduces the basic concepts of the Vector Communication Access Programming Language (CAPL), the programming language foundation of Vector CANoe and CANalyzer. The target audience of this text is anyone needing to develop advanced, customized CAN networking tool solutions using Vector CANalyzer and CANoe, including engineering students, faculty, practicing engineers, and electronic technicians. This material is suitable for college programs that focus on electrical engineering, computer engineering, computer science, distributed control systems and distributed embedded systems that use the CAN protocol. This book assumes that the programming experience level of the user will be individuals with little experience in the C programming language, in addition to those with C coding experience. Additionally, this text assumes that the reader has a functional understanding of the CAN protocol.

Download ProgrammingWithCAPL.pdf (9.2MB)

Note To Readers:

“CAPL users that are interested in communication with the RS232 Port (serial port) require the RS232 DLL. This DLL is referenced in Chapter 18 of the Programming With CAPL book. The version of the DLL you need depends on the CANalyzer/CANoe tool version that you are using. Please contact support@vector-cantech.com for more information.”

RS232 Setup Procedures:

1. Unzip the file to a temporary folder 2. Rename the DLL file to RS232.DLL 3. Cut and paste RS232.DLL into the EXEC32 directory of CANalyzer or CANoe (e.g. C:/Program Files/CANalyzer/Exec32) 4. Open the CAN.INI file from the EXEC32 directory and change the following section to look like this. If you have a hard time to locate it, do a search and DO NOT modify anything else. (Note: the line with the DLL does not have a semi-colon in the beginning) [SIMULATION] BeanTxNodeQueue=256 ; CAPLDLL=dllname.dll -> tells the compiler and browser which CAPL-DLL to ; consider for Compilation. CAPLDLL=RS232.DLL ;CAPLDLL3=capldll.dll ;CAPLDLL2=nodelay.dll 5. If you have CANalyzer or CANoe loaded, close it and reload to reflect the changes 6. Compile your CAPL program with the CAPL Browser and then you should see the DLL referenced in the message window (bottom window) of the CAPL Browser

For CANalyzer/CANoe Version 5.0 or later users, here are the new procedures:

1. Unzip the file to a temporary folder 2. Rename the DLL file to RS232.DLL 3. Cut and paste RS232.DLL into the EXEC32 directory of CANalyzer or CANoe (e.g. C:/Program Files/CANalyzer/Exec32) 4. Go to the Configure menu in CANalyzer/CANoe and select Options 5. Under CAPL DLL, click on Add to add the DLL 6. Compile your CAPL program with the CAPL Browser and then you should see the DLL referenced in the message window (bottom window) of the CAPL Browser

Feedback

Any feedbacks are welcome via support@vector-cantech.com. In the e-mail, please include your name and affiliation.

© 2006-2008 Vector CANtech, Inc. Last modified: 2008-07-15

Add page to favorites

Did you find this page helpful?