CAPL Import

<< Click to Display Table of Contents >>

Navigation:  Working with CanEasy > Automation in CanEasy >

CAPL Import

 

CAPL Basics

 

CAPL is a programming language developed by Vector Informatik

 

capl_picture1-1

 

Import CFG file

 

Select file -> Import -> CFG file from CanEasy's mail menu bar

Importing a CFG file CanEasy automatically imports the database files and opens the CAPL-Converter window

 

capl_picture2

capl_picture3

 

Add CAPL-DLLs

 

If there are CAPL DLLs used but not part of the CFG file you need to add them manually

 

capl_picture4

 

Compile files

 

capl_picture5

 

Starting the compile process by clicking on “Compile“

By default CanEasy compiles for every CAN file (node) a separate application.

If a path is specified as output, all CAPL nodes are stored in this directory.

If a single file is specified as the output, all nodes are compiled into one file.

 

CAPL Nodes

 

capl_picture6

After compiling, all converted nodes are added below MultiStudio (see Applications).

Individual nodes can be deactivated via the context menu.

CAPL tests (nodes with a MainTest function) can be started via the context menu. The report window shows at the end whether the test was successful or not. A test report in the form of an xml and html file is located in the workspace directory.

 

 

Open Canoe-Panel

 

capl_picture7

 

Save workspace

 

The workspace should be saved in the same directory as the CFG file so that relative paths can be correctly resolved by the CAPL nodes.

 

Working with CAPL

 

Using CAPL you can't use the CanEasy panels

To manipulate signal values you must use the imported Canoe Panels