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.

2.2.2 Working with Configurations<br />

All options that you configure (configuration of the measurement windows, simulation<br />

setup, PC card, etc.) while working with <strong>CANoe</strong> can be saved to a configuration file<br />

with the extension CFG). Thus, you can work with different configurations to perform<br />

specific simulations, measurements and tests with <strong>CANoe</strong>.<br />

To save changes of a specific configuration to a new configuration file choose the<br />

menu bar item File│Save configuration as. With the menu item File│Load<br />

configuration you can reload configuration files which you previously saved in CA-<br />

Noe. In the demo directory DEMO_CAN_CN you will find some prepared demo configurations<br />

that can serve as models when you start up <strong>CANoe</strong> and during the learning<br />

phase.<br />

To obtain an overview of the files belonging to your project (configuration files, log<br />

files, CAPL programs, databases, Panel files , etc.) and to allow you to run them on<br />

another computer if necessary, it is advisable to create a separate project directory<br />

for each project (also called a working directory in Windows). Be sure to save all files<br />

resulting from your work in this directory. If you are working on several different CAN<br />

projects, multiple project directories are also advisable. With large projects it might<br />

even be easier to distribute the databases and configuration files of a project to different<br />

subdirectories.<br />

c:\...\myproject<br />

myproj1.cfg, myproj2.cfg<br />

.\modelle<br />

ecu1.can, ecu2.can, test.can, sqr.gen<br />

.\dbc<br />

myproj.dbc, addon.dbc<br />

.\panels<br />

ecu1.cnp, display.cnp<br />

.\bitmaps<br />

myswitch.bmp, mybutton.bmp<br />

Figure 37: Example of a Directory Tree for a <strong>CANoe</strong> Project<br />

References to other project files (e.g. to database files *.DBC or to CAPL programs<br />

*.CAN) are also saved in the configuration files. <strong>CANoe</strong> works internally with relative<br />

paths. That is, referenced files are searched and read-in relative to the configuration<br />

file during loading. Consequently, if you move your project directory with all associated<br />

files to another location in the directory tree or to another drive, the databases<br />

and CAPL programs referenced by the configuration file are found and correctly readin<br />

at the next loading.<br />

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

43

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

Saved successfully!

Ooh no, something went wrong!