09.01.2013 Views

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Note: When a CAPL node is removed from the simulation setup the CAPL<br />

source file is not deleted.<br />

4.8 CAPL Nodes in the Measurement Setup<br />

Important applications of program blocks in the measurement setup include, e.g. activation<br />

of triggers or data reduction or monitoring in the measurement setup.<br />

137<br />

Note: A CAPL node in a data flow branch blocks all messages that are not explicitly<br />

output in the program with output(). A program that is transparent<br />

for all messages must therefore contain the following message procedure:<br />

on message * {<br />

output(this); /* Pass all messages */<br />

}<br />

Consequently, the intentional use of output(this) also permits the programming<br />

of evaluation branch filters using CAPL programs whose functionality<br />

can be much more complex than that of normal pass or blocking<br />

filters.<br />

Program blocks appear in the data flow plan as small blocks with the label P. When<br />

you click these blocks with the right mouse button and choose Configuration a dialog<br />

appears with the following buttons:<br />

Figure 78: Configuration Dialog for CAPL Programs in the Measurement Setup<br />

First, in the configuration dialog you assign a CAPL file name (Extension *.CAN) to<br />

the program block.<br />

Press [Edit] to open the CAPL Browser. Browser is a user-friendly tool for creating,<br />

modifying and compiling CAPL programs.<br />

Before you start the measurement you must compile the CAPL file. To do this, press<br />

the [Compile] button or choose Configuration│Compile all nodes in the main<br />

menu to compile all CAPL programs at once.<br />

© Vector Informatik GmbH <strong>CANoe</strong>/<strong>DENoe</strong> Manual Version 4.1.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!